Re: Checkboxes / Undefined Variables
| From: | dav | Date: | Wed, 14 Nov 2001 07:31:37 +0000 |
| Subject: | Re: Checkboxes / Undefined Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74545@lists.php.net to get a copy of this message | ||
define it :-))
boolean name_of_chechbox_3;
for example
J
<afrodriguez@att.net> ha scritto nel messaggio
news:20011114060324.WNTF4964.mtiwmhc26.worldnet.att.net@webmail.worldnet.att
.net...
> 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)