while($row=mysql_fetch_assoc($resultado)){ $options[] = ' <option value='.$row['nom'].'>'.$row['nom'].'</option>\n';}