A couple of tips:
1) Quote ALL your attribute values. e.g., <INPUT type=checkbox> needs to be <input type="checkbox">.
2) Use current, valid tags and attributes. align="center" and <FONT size=""> are depreciated. Use css styles instead (an inline example would be
Code:
<p style="font-size: small; text-align: center;"> paragraph text goes here </p>
3) Tables are not intended as layout tools. You should use css instead, but that's not a critical issue. The two points above, however, could cause problems in some browsers.
To answer your question, "multichoice" is just an example name. Take whatever name value you wish and add square brackets on the end to allow the user to choose more than one. Maybe:
Code:
<input type="checkbox" name="damcolor[]" value="chocolate">
<input type="checkbox" name="damcolor[]" value="cream">
The user could choose one, the other, or both colors and the script would get the answers in an array. If they chose both colors, for example, the script would see:
Code:
$_POST['damcolor'] = array(
[0] => "chocolate"
[1] => "cream"
)
Bookmarks