How can we register the variables into a Session?
Answer Posted / senthilkumar g
<?
session_start();
$username=$_GET['username'];
$_SESSION['username']=$username;
session_write_close();
?>
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
Is session a cookie?
What is php simple definition?
How does php isset work?
Which is better wamp or xampp?
write a note on Testing the web site
What is the role of php?
How to access a specific character in a string?
What is helper library?
How cookies are trported from browsers to servers?
What is get method in java?
What are the method available in form submitting?
What does the php error 'parse error in php - unexpected t_variable at line x' means?
What is the use of mysql_real_escape_string() function?
What is use of echo in php?
Write down the code for save an uploaded file in php.