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 |
Do you know how to declare an array in php?
What are the ways to define a constant in php?
What is a closure in php?
Tell me what are the different types of errors in php?
What is a variable cost example?
What are different ways to redirect from on page to other?
What is the name of the scripting engine that powers PHP?
Is multiple inheritance supported in php?
What is http php?
What is the use of strip_tags() method?
Is php deprecated?
What are php keywords?