[KLUG Members] Session Variables
Adam Tauno Williams
adam at morrison-ind.com
Mon Jan 24 13:45:40 EST 2005
> I need to be able to run an "if/else" statement that is looking at a
> range of session variables.
> This statement works, but it is only looking for the one session
> variable - "brdlnk1". This needs to a range of variables - brdlnk1 thru
> brdlnk80.
> if ($_SESSION['brdlink1']>0) {
> echo "<a href=\"jeopardy-board.php?board=jdouble\">PLAY DOUBLE
> JEOPARDY<br>";
> } else
This really looks like a job for an array.
More information about the Members
mailing list