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 |
List the different types of print functions available in php?
What is die in php?
Why do we use interface in php?
How can we find the number of rows in a result set using PHP?
when we submit any string in single inverted comma('abc') with get or post method,we will get exact string with single inverted comma('abc')by using $_REQUEST[]. But it is giving (\'abc\'). so anybody please help me to remove that slash,therefore i will get exact string...
What is use of in_array() function in php?
how to include a datepicker in a form using php and mysql
What is the basic function to search files for lines (or other units of text) that contain a pattern.
How does integrate SSL certificate in websites and also how to generate CSR in Local machines? plese give some ideas ASAP.....
Why does sql injection happen?
What is use of header() function in php?
Tell me how stop the execution of a php scrip?