php quikcy

Associate
Joined
26 Jan 2006
Posts
1,502
I got a checkbox with name="box" value="5"

What post returns in $_POST["box"] if the checkbox wasnt checked?

Is it null or something? I tried to display but no output.

Thanks
 
cool, thanks!

So .. I must use ' instead of "?

I know that 'box' interprets it as a the string box while "$box" (example) will get the value of $box. Is this correct?

And another thing that got me puzzled is that when I do:

echo "<table border="1">";

I get errors because of the quaotation marks :(


Thanks for helping!

ps: They could decide on one type of quotes in PHP! :p
 
Back
Top Bottom