Re: checkbox value
| From: | Ken | Date: | Thu, 24 Mar 2005 13:44:16 +0000 |
| Subject: | Re: checkbox value | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211461@lists.php.net to get a copy of this message | ||
isset($_POST['checkboxname']) or isset($_GET['checkboxname'])
depending on the method of your form.
a good thing to do is to do var_dump($_POST) or var_dump($_GET) to see
all the values posted from the form...
hth
ken
On Thu, 24 Mar 2005 15:42:10 +0200, William Stokes <kalles@operamail.com> wrote:
> Hello,
>
> I have a checkbox in a form. How can I determine if the user has set the
> checkbox on or not?
>
> Thanks
> -Will
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>