include("connexion.php"); $sql = "select titrenews, libnews, datenews from news"; $rs = mysql_query($sql,$id); ?>
while($tab = mysql_fetch_array($rs)) { /*echo $tab[0]."
".$tab[1]."
".$tab[2]."
";*/ ?>
echo $tab[0] ?>
echo $tab[1] ?>
echo $tab[2] ?>
} ?>