I have some code that looks like this:
if(!session_is_registered('errors'))
session_register('errors');
but i want to do this using the $_SESSION, i tried
doing it this way
if(!isset($_SESSION['errors']))
session_register('errors');
but when i echo(isset($_SESSION['errors'])) it prints
false
So i am not sure how to register a variable with
$_SESSION
Ben
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php