HOW CAN WE REGISTER THE VARIABLES INTO A SESSION?

Awadhendra Tiwari

Total Post:505

Points:2525
Posted by  Awadhendra Tiwari
PHP 
PHP
 1482  View(s)
Ratings:
Rate this:
  1. Awadhendra Tiwari

    Post:505

    Points:2525
    How can we register the variables into a session?

    session_register($session_var);

    $_SESSION['var'] = 'value';

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!