Salve ho un problema con questo while. Pare che dia errore sul costrutto mysql_fetch_array

Voi che ne pensate?



codice:
<select name="Scuola">
                  <?php
              include "config.php";
					connettiDb();
						$sql="select * from scuole where id >1 order by name";
                  		$dati=mysql_query($sql);
                  		
                  while($riga=mysql_fetch_array($dati))
                  { 
                  echo "<option value=" .  $riga['citta'] .">" . $riga['citta'] ."</option>";
                  }
                  ?>
                </select>