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 |
Which php function will attach one file to another?
Explain converting an object?
What does the arrow mean in php?
What is Type hinting in PHP?
What is a PHP Filter?
What is the use of return in php?
What is the use of is_array() and in_array()?
Explain how is it possible to set an infinite execution time for php script?
Explain the ternary conditional operator in php?
How does php isset work?
How to get the length of string?
What is list function with their uses.