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
Do I need to install php after xampp?
Difference between mysql_connect and mysql_pconnect?
Explain what is the static variable in function useful for?
What does csrf token mismatch mean?
What is faster in php?
What is the phpstorm?
How can we destroy the cookie in php?
What is alias in php?
Can you pass an array into a function?
How do sessions work in php?
What is difference between post and put in rest?
What is the difference between pop3 IMAP and MAPI?
How can we get the error when there is a problem to upload a file?
What is instantiation?
What is api example?