Answer Posted / harjeet
session_register()
e.g.
$user="Username";
session_register("user");
or more preferred way is
$_SESSION['user']="username";
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
Who developed php?
How to open a file for writing?
What are interfaces in php?
Why do we use php?
How can you submit a form without a submit button?
Is overloading possible in php?
What is the difference between explode() and split() functions?
What software is required for php?
How to test if a variable is an array?
How can you declare the array in php?
Does php have future?
Why do we use hooks?
What is final in php?
Explain about switch statement in PHP?
Write an example to remove html tags from a string in php?