Checkboxes / Undefined Variables
| From: | afrodriguez at att dot net | Date: | Wed, 14 Nov 2001 06:03:23 +0000 |
| Subject: | Checkboxes / Undefined Variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74541@lists.php.net to get a copy of this message | ||
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
(afrodriguez@att.net)