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
What is the use of addslashes in php?
What is php default argument?
What is str_replace()?
What is php used for?
A process can run only in the background. State Whether True or False?
What is the difference between indexed and associative array?
What is exception handling in php?
What is symfony php?
What is the difference between overloading and overriding in php?
Tell me what is the difference between ereg_replace() and eregi_replace()?
What are php errors?
How to find length of an array in php ?
What are variables in research examples?
What is php pathinfo?
What is the use of htmlentities in php?