You are here: Re: [PHP] checkbox value « PHP « IT news, forums, messages
Re: [PHP] checkbox value

Posted by Ken on 03/24/05 15:44

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация