Id like to populate a form drop down box from the results i get from a SQL query
So far ive done this
$sql = mysql_query("SELECT `title` FROM `forums`
ORDER BY `title` ASC") or die(mysql_error());
if(mysql_num_rows($sql) <> 0) {
$forums[] = mysql_fetch_assoc($sql);
}
is their a way i can get the title out of the forums[] array for use in a form drop down box?