How can we register the variables into a Session?
Answer Posted / tarun
session_start();
$ses_variable="name";
session_register('ses_varaible');
// to access the session
echo $_SESSION['ses_variable'];
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
Tell me is it possible to submit a form with a dedicated button?
What is htmlentities function in php?
Which function would you use to read a line of data from a file in php?
What are php magic methods?
Explain briefly about a search-friendly site looks like?
Explain about the $_GET variable of PHP?
What is the current stable version of php?
What is regex in html?
What is the delimiter default in PHP?
Php code to find whether a number armstrong or not?
What is the difference between single quoted string and double quoted string?
What are the two types of variables?
What is a helper function?
What is a variable cost example?
What are the different errors in php?