use : @$name_of_chechbox_3 to suppress warnings or at the start of the file do : if (!isset($name_of_chechbox_3)) $name_of_chechbox_3 = ""; or something similar
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 5:03 PM To: [EMAIL PROTECTED] Subject: [PHP] Checkboxes / Undefined Variables In am HTML form, checkboxes NOT checked are not passed to the PHP script called by the form. Therefore, if $name_of_chechbox_3 is not passed but it's used in the PHP script, it results in "Warning: Undefined Variable". How can I avoid this? Thanks! A. F. Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]