Ciao

ho un DB che contiene dei dati. Vorrei fare un ciclo per mostrarli tutti. Come si fa?
Ecco il codice che uso:


$hostname_strat = "localhost";
$database_strat = "strategie";
$username_strat = "strategie";
$password_strat = "strategie";
$strat = mysql_pconnect($hostname_strat, $username_strat, $password_strat) or die(mysql_error());


mysql_select_db($database_strat,$strat);
$sql = mysql_query("SELECT " .$lingua ." FROM servizi");

$rowstat = mysql_fetch_array($sql1);


Mi connetto al DB, poi faccio una query alla mia tabella. Come faccio a mostrare tutti i dati in quella tabella con un ciclo?
Grazie