Re: [PHP] Checkboxes / Undefined Variables

2001-11-13 Thread Jason G.
your error reporting must be set to E_ALL. a very simple way is: $checkbox_3 = isset($checkbox_3); Now, $checkbox_3 will be either TRUE or FALSE with no errors! -Jason Garber IonZoft.com At 06:03 AM 11/14/2001 +, [EMAIL PROTECTED] wrote: >In am HTML form, checkboxes NOT checked are not pas

RE: [PHP] Checkboxes / Undefined Variables

2001-11-13 Thread Martin Towell
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 Variabl

[PHP] Checkboxes / Undefined Variables

2001-11-13 Thread afrodriguez
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]) -- P