RE: [PHP-DB] Hi there everyone,
| From: | David Balatero | Date: | Wed, 18 Jul 2001 00:45:00 +0000 |
| Subject: | RE: [PHP-DB] Hi there everyone, | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10532@lists.php.net to get a copy of this message | ||
<?php
session_start();
session_register("high_low");
// if the var hasn't been set, then set it..
if (!isset($high_low)) {
$high_low = "low";
}
?>
-----Original Message-----
From: chris@planetoxygene.com [mailto:chris@planetoxygene.com]
Sent: Tuesday, July 17, 2001 5:36 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Hi there everyone,
Hi there,
Please could someone help me with Session Variables - I am alittle confused.
How do I use them to keep information stored for the whole web visit? For
example, I need a variable set to low for the entire website (Or until
someone logs in and changes it to either high or low) but when I go to
another page the variable is lost - please help me in simple terms :-)
Thanks you everyone.
Chris Payne
www.planetoxygene.com
chris@planetoxygene.com