"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 ch
I had some issues with that recently. It turns out that PHP will not
pick up the checkboxes, unless you use the GET method.
You can then access your vars with HTTP_GET_VARS.
This was discovered on
WIN98+ PHP 4.03pl1 + Apache 1.3++
&
WIN ME + PHP 4.03pl1 + Apache 1.3++
> 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 hav
> 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
4 matches
Mail list logo