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 php coding easy?
Are static variables final?
What is difference between single quotes and double quotes in php?
How many escape sequences are recognized in single-quoted strings?
What changes I have to do in php.ini file for file uploading?
can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????
What is difference between echo and print_r in php?
Is php developer in demand?
What is use of header() function in php?
How do you define a constant in php?
How to assigning a new character in a string using php?
How to create a public static method in PHP?
Is php dead 2019?
How do you display the output directly to the browser?
What is the interface in php?