How to use PHP $_SESSION

Posted by EM MAJ_COM On Friday, January 03, 2014
Here's a simple guide on how to use the PHP $_SESSION to keep the data from one page to another.
1st page
=======
<?php
session_start
();$_SESSION["a1"] = "LOGGED";?>

2nd page
=======
<?php
session_start
();
echo 
$_SESSION["a1"];?>
Visit php.net for additional information.
http://www.php.net/manual/en/reserved.variables.session.php

Related Posts :



0 Response to "How to use PHP $_SESSION"

Post a Comment

First things first: Connect through one of the following social media tools below:
Enter your email address:
Subscribe to KING.NET by Email http://www.twitter.com/kingnet
http://www.randompage.com/profile/king
Moscom.com Web Hosting 24x7 Phone Support. The ultimate in performance, control, and convenience.

Get a Free Bitcoin

NeedName.com - Domain Name Registration and DNS Management.
Breeder.co - All about Pets.
Pet By OWner.
Moscom.com Web Hosting, SSL, Email, DomainName, and Dedicated Server.
For Ad Campaign, please send email to Support[@]Whaddya.com. Thank you.