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
What is difference between required and require_once in php?
Explain how can we execute a php script using command line?
How do you measure variables?
Is php open source?
What is php session id?
How to delete file in php?
Explain about the data types in PHP?
What is difference between base_url and site_url?
What is needed to be able to use image function?
Where php basically used?
How do I run a php program in dreamweaver?
Where do we use get and post?
How can we connect to a mysql database from a php script?
How do you destroy a particular or all Sessions?
What is a null coalescing operator in php7?