Page 1 of 1

$SESSION var not recognized in function

Posted: Mon Apr 23, 2007 6:02 pm
by FluxNYC
I have a function called start_test()

to start it checks a session variable but i get this error

Notice: Undefined index: page in /var/www/html/fordham/includes/test_functions.inc.php on line 6

any ideas?

Thanks.

Posted: Mon Apr 23, 2007 6:24 pm
by John Cartwright
$_SESSION not $SESSION

Posted: Mon Apr 23, 2007 6:48 pm
by superdezign
:-p

And if that's not the problem, maybe try isset() before attempting to use/manipulate data.