What are the basic steps to store PHP session in to Database?
Answer / dharamveer singh sagar
To store PHP session in a database , need to foolow step,
which is given below
1. to create session
<?php session_start();?>
2.assign to a variable
<?php $s=$_SESSION['username'];?>
3 then store it into database
| Is This Answer Correct ? | 15 Yes | 1 No |
What is mysql_fetch_row?
What are the environmental variables?
A process can run only in the background. State Whether True or False?
Explain what does the function get_magic_quotes_gpc() means?
I finished my degree 4 years back. I didnt get job in software. In the time(for 4 years) i worked one kpo industries. but now i got job in php(40 employes working there) as fresher(Salary 8000). Shall i join in php. I have no knowledge about php. Can i do well in php. How will my carrier if i join in php? Please can you give your idea.? It will be more usefull to me.
"$this" what type of object it is?
What is the difference between characters and #?
What is return in php function?
What are the differences between PHP3 and PHP4 and PHP5? what is the current stable version of PHP?
What is difference between md5 and SHA256?
How are variables declared in php?
What is $_ get?