Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Setting a session
02-26-2007, 06:53 AM #1TrainReqGuest
Setting a session
How do I set a session with a value?
Like $_SESSION['paidmember'] with the value of "yes"
02-26-2007, 01:43 PM #2
- Join Date
- Oct 2006
- Thanked 0 Times in 0 Posts
you were very close.
$_SESSION['paidmember'] = true; // If you want it like a boolean.
$_SESSION['paidmember'] = "yes"; // If you still want it that way.