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 use of in_array() function in php?
What is a stored procedure in mysql?
How to download and install php for windows?
What is htmlentities function in php?
How check field is empty or not in php?
What is stdclass in php?
What is the best way to change the key without changing the value of a php array element?
What is __ invoke in php?
What is the actually used php version?
What is the function file_get_contents() useful for?
What is array filter in php?
Tell me whether it is possible to share a single instance of a memcache between multiple php projects?
What are php applications?
Do you know what are traits?
What is php session start?