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
What is the importance of php?
What is a php tag?
Where is php code written?
Tell me how is it possible to remove escape characters from a string?
Which Scripting Engine PHP uses?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?
How to download and install php for windows?
Tell me how do I escape data before storing it into the database?
What are the php functions?
How to join multiple strings into a single string?
How does the identity operator ===compare two values in PHP?
What is framework in php?
Where is the functions php in wordpress?
What is helper library?
Explain the difference between array_merge() and array_combine()?