Tom Beidler [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a form with approximately 40 input fields. When a form is posted it
sends an email and then builds a tab delimited $txt entry for a text file
on
the server.
The problem is that if a checkbox
Subject: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked
That's right - if the checkbox isn't checked the browser doesn't send it.
Jason
The problem is that if a checkbox is not checked, when it's not required, I
don't get a blank entry in my tab file for the checkbox input. I'm imploding
my HTTP_POST_VARS variable like so;
This has nothing to do with PHP. Your browser sends nothing for an
unchecked checkbox. You would have
?
-+___+-
On Tue, 19 Jun 2001, Jason Murray wrote:
Subject: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked
That's right - if the checkbox isn't checked the browser doesn't send it.
Jason
I have a form with approximately 40 input fields. When a form is posted it
sends an email and then builds a tab delimited $txt entry for a text file on
the server.
The problem is that if a checkbox is not checked, when it's not required, I
don't get a blank entry in my tab file for the checkbox
5 matches
Mail list logo