Re: [PHP] Undefined index, Undefined variable, Undefined constant....

2002-09-06 Thread Meltem Demirkus
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: F

RE: [PHP] Undefined index, Undefined variable, Undefined constant....

2002-09-06 Thread Jay Blanchard
[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") { //do something } [/snip] As a quick troubleshooting method echo or print $_GET['action'] to see what, if anything, is contained there. I woul

[PHP] Undefined index, Undefined variable, Undefined constant....

2002-09-06 Thread Jens Winberg
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") { //do something } But I'm getting an error message that says: ...log_message reports: PHP Notice: Undefined index: action in Ealier (other ve