Re: Undefined index, Undefined variable, Undefined constant....
| From: | Meltem Demirkus | Date: | Fri, 06 Sep 2002 14:22:28 +0000 |
| Subject: | Re: Undefined index, Undefined variable, Undefined constant.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115476@lists.php.net to get a copy of this message | ||
I had the say problem,
try this
if($_POST['update'] == "Update")
{
someting to do...
}
----- Original Message -----
From: "Jay Blanchard" <jay.blanchard@niicommunications.com>
To: "'Jens Winberg'" <jwinberg@abo.fi>; <php-general@lists.php.net>
Sent: Friday, September 06, 2002 5:12 PM
Subject: RE: [PHP] Undefined index, Undefined variable, Undefined
constant....
> [snip]
> I'm having trouble with the newest version of PHP (4.2.2).
> For example in a page I'm using the following code:
> if ($_GET['action'] == "logout") {
> file://do something
> }
> [/snip]
>
> As a quick troubleshooting method echo or print $_GET['action'] to see
what,
> if anything, is contained there. I would also like to see more than;
>
> ...log_message reports: PHP Notice: Undefined index: action in....
>
> HTH!
>
> Jay
>
> Here I am. Now what were your other two wishes?
>
> *****************************************************
> * Texas PHP Developers Conf Spring 2003 *
> * T Bar M Resort & Conference Center *
> * New Braunfels, Texas *
> * Contact jay.blanchard@niicommunications.com *
> * *
> * Want to present a paper or workshop? Contact now! *
> *****************************************************
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>