12 Feb 2007 at 21:33 #1 drak3 drak3 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
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
12 Feb 2007 at 22:12 #3 drak3 drak3 Associate OP Joined 26 Jan 2006 Posts 1,502 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!
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!