$host = "localhost"; $user = "vidgay"; $password = "Aa5jr8cm"; $bdd = "vidgay"; $o=1; mysql_connect($host, $user, $password) or die ("impossible de se connecter au serveur" ); mysql_select_db($bdd) or die ("impossible de se connecter a la base de donnees" ); $sql2 = "SELECT * FROM links ORDER BY last desc limit 30"; $resultat2=mysql_query($sql2); while($ligne2 = mysql_fetch_array($resultat2)) { echo "
« ;
if($o==3) { echo «
« ; $o=0; }
$o++;
}
?>