Using the session_register() Function : session_register « Cookie Session « PHP






Using the session_register() Function

 
<?php
    $myvar = "This is my variable to store in the session";
    $myvar_name = "myvar";
    session_register($myvar_name);
?>
  
  








Related examples in the same category