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 |
Hi this is amul jani here, i complied my graduation in B.com stream.. but as career i looking for PHP language.. to get shape my career. so is that possible to enter in IT world.. for me how much scope of develop my career in this field.. amul jani
How come the code works, but doesn’t for two-dimensional array of mine?
What enctype is required for file uploads to work?
How many ways to include variables in double-quoted strings in php?
What is a persistence cookie?
what mode to use when creating dirs with mkdir?
Explain Type juggling?
What is use of count() function in php?
How to check a variable is array or not in php?
What are the differences between mysqli_connect and mysqli_pconnect?
What are the two main string operators?
I have written a source code in php but I do not know how to compile that and conduct it with a website please explain me the how to compile that ?