no no
non c'è proprio anche nel db sono in modo ascendente. ma il primo non me lo prende.

posto il code..
Codice PHP:
$query "Select * from unit where id_corso = " $id_corso ;
echo 
$query;
$ris mysql_query($query$conn) or die("Errore nella query: " mysql_error());
$rs mysql_fetch_array($ris);
$num_rows mysql_num_rows($ris); 
//echo $num_rows;
//die();
while ($riga mysql_fetch_assoc($ris)) {
echo 
$riga["id_unit"] . "
"

     
$riga["descrizione"];

questo il risultato
Select * from unit where id_corso = 62
3
4
5
6

ovviamente il 2 è a fianco del 6 ma solo in visualizzazione.
e l'id numero uno ?