Re: checking status of a HTML checkbox
| From: | Shams | Date: | Fri, 10 Jan 2003 09:35:49 +0000 |
| Subject: | Re: checking status of a HTML checkbox | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131067@lists.php.net to get a copy of this message | ||
thanks a lot, thats what I was looking for
:o)
Shams
"- Edwin" <copperwa11s@yahoo.co.jp> wrote in message
news:JO20030110183105.27443796@yahoo.co.jp...
> "Shams" <shamskhanmalik@hotmail.com> wrote:
>
> [snip]
> > At the moment I am doing this:
> >
> > if ( $_POST["insurance"] == "yes" )
> > {
> > }
> >
> > But is there a more "accurate" way of checking the exsistence of
> > "insurance"?
> [/snip]
>
> I think you're looking for isset():
>
> http://www.php.net/manual/en/function.isset.php
>
> - E
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/
>