Hi,
I got a form consists exclusively of checkbox and I want to store into cookie which checkbox are check.
Here is my form:
<form action="" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col">Rallye-Cap</th>
<th scope="col">Atome</th>
<th scope="col">Moustique</th>
<th scope="col">Pee Wee</th>
<th scope="col">Bantam</th>
<th scope="col">Midget</th>
<th scope="col">Junior</th>
</tr>
<tr>
<td><input name="equipe" id="27," type="checkbox" value="27," />AS A</td>
<td><input name="equipe" id="32," type="checkbox" value="32, " />AS A</td>
<td><input name="equipe" id="35," type="checkbox" value="35, " />AS A</td>
<td><input name="equipe" id="38," type="checkbox" value="38, " />AS A</td>
<td><input name="equipe" id="41," type="checkbox" value="41, " />AS A</td>
<td><input name="equipe" id="43," type="checkbox" value="43, " />Midget Féminin</td>
<td><input name="equipe" id="46," type="checkbox" value="46, " />AS BB</td>
</tr>
<tr>
<td><input name="equipe" id="28," type="checkbox" value="28, " />Mousqueaires A</td>
<td><input name="equipe" id="33," type="checkbox" value="33, " />AS B</td>
<td><input name="equipe" id="36," type="checkbox" value="36, " />AS B</td>
<td><input name="equipe" id="39," type="checkbox" value="39, " />AS B</td>
<td><input name="equipe" id="42," type="checkbox" value="42, " />AS B</td>
<td><input name="equipe" id="44," type="checkbox" value="44, " />AS A</td>
<td> </td>
</tr>
<tr>
<td><input name="equipe" id="29," type="checkbox" value="29, " />Yankees A</td>
<td><input name="equipe" id="34," type="checkbox" value="34, " />Yankees B</td>
<td><input name="equipe" id="37," type="checkbox" value="37, " />Yankees B</td>
<td><input name="equipe" id="40," type="checkbox" value="40, " />Yankees B</td>
<td> </td>
<td><input name="equipe" id="45," type="checkbox" value="45, " />AS B</td>
<td> </td>
</tr>
<tr>
<td><input name="equipe" id="30," type="checkbox" value="30, " />AS B</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><input name="equipe" id="31," type="checkbox" value="31, " />Yankees B</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</form>
After that I want to display wich checkbox is check like this:
[gallery id="28, 29, 30,"]
Where "28, 29, 30," is the value of the checkbox.
Can you help me?
Thanks