<?
$SQL_category = mysql_query("SELECT * FROM category_tb ORDER BY category_type") or die(mysql_error());
while ($row = mysql_fetch_array($SQL_category)){
$category_type = $row["category_type"];
echo "<option value='$category_type'>$category_type</option>";
}
?>