Re: checkbox value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux