Create session variable : Session Variables Create : Cookie Session PHP Source Code


PHP Source Code » Cookie Session » Session Variables Create »

 

Create session variable



<?php

   session_start();

   $_SESSION['username'] "Joe";

   echo "Your username is ".$_SESSION['username'].".";

?>


           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Cookie Session
» Session Variables Create