PHP Code:
$types = mysql_query("SELECT * FROM $tab_artcat ORDER BY name");
while ($cat = mysql_fetch_array($types)) {
echo "<select name='types'>
<option>$cat[name]</option>
</select>";
}
$types = mysql_query("SELECT * FROM $tab_artcat ORDER BY name");
while ($cat = mysql_fetch_array($types)) {
echo "<select name='types'>
<option>$cat[name]</option>
</select>";
}
$types = mysql_query("SELECT * FROM $tab_artcat ORDER BY name");
echo "<select name='types'>";
while ($cat = mysql_fetch_array($types)) {
echo "<option>$cat[name]</option>";
}
echo "</select>";
Comment