Mega Code Archive
Categories
/
Php
/
Form
A form with checkboxes using the same name to store multiple values
Using Default Checkbox Values
"; foreach($food as $foodstuff){ echo '
'.htmlentities($foodstuff); } echo "."; } else { echo ('
Italian
Mexican
Chinese
'); } ?>