RE: [PHP] checking status of a HTML checkbox

2003-01-10 Thread Larry Brown
" as these scripts 242 and 409 lines long respectively. I can assure you that the form is properly closed on the sending page though. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of - Ed

RE: [PHP] checking status of a HTML checkbox

2003-01-10 Thread - Edwin
"Larry Brown" <[EMAIL PROTECTED]> wrote: > Also look at empty(). I don't know if the $_POST array will send the > key if it as no variable. I know on a regular post it does send the > variable, but it has no value. What's a "regular post" anyway? Well, the key is passed even when there's even

RE: [PHP] checking status of a HTML checkbox

2003-01-10 Thread Larry Brown
EMAIL PROTECTED] Subject: Re: [PHP] checking status of a HTML checkbox thanks a lot, thats what I was looking for :o) Shams "- Edwin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Shams" <[EMAIL PROTECTED]> wrote: > &g

Re: [PHP] checking status of a HTML checkbox

2003-01-10 Thread Shams
thanks a lot, thats what I was looking for :o) Shams "- Edwin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Shams" <[EMAIL PROTECTED]> wrote: > > [snip] > > At the moment I am doing this: > > > > if ( $_POST["insurance"] == "yes" ) > > { > > } > > > > But

Re: [PHP] checking status of a HTML checkbox

2003-01-10 Thread - Edwin
"Shams" <[EMAIL PROTECTED]> 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.is