<!–code for combobox creation–>
<tr>
<td>Category:</td>
<td>
<select name=”category” id=”category” maxlength=”100″>
<option value=” “>–select category–</option>
<?php $s2=”select * from category “;
$q2=mysql_query($s2);
while($rw2=mysql_fetch_array($q2)) {
?>
<option value=”<?php echo $rw2[‘id’]; ?>”><?php echo $rw2[‘category’]; ?></option><?php } ?>
</select>
</td>
</tr>