Monday, 3 September 2018
Subscribe to:
Post Comments (Atom)
checkbox array with the GET Method? And if there are two checkboxes clicked, will that result in: some.php?param=1¶m=2 ?[] so PHP recognizes the array.<input type="checkbox" name="foo[]" value="bar1">
<input type="checkbox" name="foo[]" value="bar2">
<input type="checkbox" name="foo[]" value="bar3">
phpfile.php?foo[]=bar1&foo[]=bar2&foo[]=bar3
bar1 and bar2 are clicked, then the GET would bephpfile.php?foo[]=bar1&foo[]=bar2
$_GET["foo"]
$_POST["foo"]
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment