Monday, November 14, 2011

create session


session_start();
$_SESSION['s_user']=$username;

in php to use session firstly start the session by writing session_start();
then create session mentioned as above.
above the data of $username is stored in session s_user.

No comments:

Post a Comment