How to register a variable in PHP session?
Answer / Kamini Jadon
To register a variable in a PHP session, you can use the $_SESSION superglobal array. Here's an example:n$$myVariable = 'example value';n$_SESSION['myVariable'] = $$myVariable;
| Is This Answer Correct ? | 0 Yes | 0 No |
Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.
Explain about getters and setters in php?
Name the Functions in IMAP, POP3 AND LDAP?
Which database is best for php?
Where is my php ini file?
Why ide is recommended for use while programming with php?
we have two tables first one is EMPLOYEE having EmpID, EmpNAME, Second table is SALARY table having id, salary Write a query to get name of those person who having more than 10000$ salary
What is is_null() in php?
How can we encrpt a text?
•What is the difference between “mysql_fetch_array” and “mysql_fetch_object?
What are the encryption techniques in php?
Why laravel is the best php framework in 2019?