Michael Jonsson wrote:
Hi
Why do I get an error if the $_SESSION['user_status'] is emty (it's not set to anything) ???
in my redhat 9 it did mork, but when I moved to Fedora Core 2 it's not working...
####Script###### session_start(); echo $_SESSION['user_status'];
#####error######
Notice: Undefined index: user_status in /var/www/itmdata/include/include.php on line 13
Regards Micke
This is a notice. Try setting your error level to E_ALL & ~E_NOTICE or using isset() before you try to use the variable.
-- paperCrane <Justin Patrin>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php