I want to know how can I get the checkbox array work as:
For example, if value A and B is selected, in the php, it can parse out as:
Thanks!
<input type=checkbox value=A name="test[GREAT]">A<br>
<input type=checkbox value=B name="test[GOOD]">B<br>
<input type=checkbox value=C name="test[BAD]">C<br>
For example, if value A and B is selected, in the php, it can parse out as:
PHP:
$totaltests = count($_POST['test']);
echo "<a href=work.php?total=$totaltests&GREAT=A&GOOD=B>click</a>";
Thanks!