i have three drop down menus for people to select a time, this needs to be stored in a database for a restaurant booking, at the moment i have this:
<tr>
<td>Time:</td>
<td>
<select name="hour">
<option value="">H</option>
<?php echo display_hour(); ?>
</select>
<select name="min">
<option value="">M</option>
<?php echo display_min(); ?>
</select>
<select name="ampm">
<option value="am">AM</option>
<option value="pm">PM</option>
</select>
</td>
</tr>
how can i put all these values into one database field, i was thinking of an array but not sure how to do it, unless there is any other way of doing this?