php help
php help
Out of context: Reply #5
- Started
- Last post
- 8 Responses
- mikotondria30
have
session_start();
at the top of the pages, then it's just like setting/reading a POST or GET, so like
$_SESSION[var] = 'foo';
and on the other page,
if (isset($_SESSION[var] && $_SESSION[var]=='foo)){ etc...It's all on the php site, and other places, of course :)
- session_start has to be BEFORE any html or code or even "space" is written to the browser...vaxorcist