How come when I do this, the first one has the first option already in the select form, but the 2nd one is empty?
http://thesplash.net/mysql/form.php
Design Type: <select name="designtype">
<option value="">Select Type</option>
<?php
// Grabbing Design Type and ID to make options
$get_type = "select * from layout_categories";
$type_res = mysql_query($get_type);
while ($row = mysql_fetch_array($type_res)) {
$type_id = $row['id'];
$type_design = $row['cat_title'];
print "<option value=\"$type_id\">$type_design</option>";
}
?>
</select>
<br><br>
Series Name: <select name="designseries">
<option value="">Select Series</option>
<?php
// Grabbing Series Names and ID to make options
$get_series = "select * from layout_series";
$series_res = mysql_query($get_series);
while ($row = mysql_fetch_array($series_res)) {
$series_id = $row['series_id'];
$series_design = $row['series'];
print "<option value=\"$series_id\">$series_design</option>";
}
?>
CODE]