Originariamente inviato da freetom
$output.="<option selected>- Choose One -</option>\n";
while ( $array = mysql_fetch_array($dati)) {
$period[]=$array["period"];
}

if (in_array($temp,$period)) {
if(!is_null($period)) potrebbe aiutare?