giusto, potresti anche optare per un array associativo:
Codice PHP:
 while ($riga mysql_fetch_assoc($result)) {
        echo 
$riga["movie_name"]'.-.' $riga["movie_type"].'
'
;
        
    }