I had the say problem, try this if($_POST['update'] == "Update") { someting to do...
} ----- Original Message ----- From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Jens Winberg'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] * > * * > * 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php