Re: Undefined index ???
| From: | Michael Jonsson | Date: | Wed, 09 Jun 2004 20:34:04 +0000 |
| Subject: | Re: Undefined index ??? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187981@lists.php.net to get a copy of this message | ||
No, it's not set to NULL it's just emty...
.M
Torsten Roehr wrote:
"Michael Jonsson" <micke@lmpnet.se> wrote in message news:20040609194922.13237.qmail@pb1.pair.com...Hi Why do I get an error if the $_SESSION['user_status'] is NULL ??? ####Script###### session_start(); echo $_SESSION['user_status']; #####error###### Notice: Undefined index: user_status in /var/www/itmdata/include/include.php on line 13Did you really set it to null?: $_SESSION['user_status'] = null; ? Regards, Torsten