How do I add records to a mysql database using a combo box of text and checkmarks in php?
<html>
<head>
</head>
<body>
<h3>Add New Record in MySQL Database</h3>
<form method="post" action="adding.php">
<table width="400" border="0" cellspacing="1" cellpadding="2">
<tr>
<td width="100">Worker Firstname</td>
<td><input name="firstname" type="text" id="lastname"></td>
</tr>
<tr>
<td width="100">Worker Lastname</td>
<td><input name="lastname" type="text" id="lastname"></td>
</tr>
<tr>
<td><input name="checkbox[]" type="checkbox" id="checkbox[]" value="1" />Asbestos Awareness
</td>
</tr>
<tr>
<td><input name="checkbox[]" type="checkbox" id="checkbox[]" value="1" />Crane Operator
<td>
<input name="add" type="submit" id="add" value="Add Worker">
</td>
</tr>
</table>
</form>
</body>
</html>