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
which will print out the php call stack?
What is php's mysqli extension?
What is a static variable in php?
What is the use of return in php?
What is factory pattern in php?
What are escaping characters? Explain with an example?
What are psrs?
Is python similar to php?
What's the output of the ucwords function in this example?
What's the best method for sanitizing user input with php?
How can you make a connection with mysql server using php?
What is csrf cookie?
What is the purpose of the '.myd' file extension? What do thes file contain?
What is a php session?
Explain about objects in PHP?