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
How to find length of an array in php ?
What is difference between action hook and filter hook?
How to invoke a user function?
What are the characteristics of php variables?
What are the popular frameworks in php?
What are the differences between GET and POST methods?
Is age interval or ordinal?
How to remove white spaces from the beginning and/or the end of a string in php?
What is the string concatenation operator in php?
Explain me what are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
in PHP for pdf which library used?
What are computer variables?
What is a string in r?
What are the new features available in php 7?
How a variable is declared in php?