Ok I neeed a little help. I need to change this drop down menu to check buttons but need a little help.
How could I change that so that the options show up in a checkbox form method instead of a drop down menu.PHP Code:<select name="p_id">
<?php
$SQL = "SELECT * from options";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) ) {
$id = $row["ID"];
$name = $row["NAME"];
?>
<option value="<?php echo $id; ?>"> <?php echo $name; ?></option>
<?php } ?>
</select>
+REP to anyone who can help.





Reply With Quote

ts Stuff 


