Code : Tout sélectionner
<html>
<head>
<link rel="stylesheet" type="text/css" href="css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<font face="Tahoma">
<font size=2>
</head>
<body>
<?php
// Connexion MySQL
include('config.php');
// Notre requête MySQL
$classement = mysql_query("SELECT * FROM classement ORDER BY date DESC");
while($classement = mysql_fetch_array($classement)) {
echo '<div id="boiteavatar"><img src="http://www.habbo.fr/habbo-imaging/avatarimage?user='.htmlspecialchars($classement['texte']).'&direction=2&head_direction=2&gesture=sml&action=s" style="float:left;margin-top:-10px">
<br><b>'.htmlspecialchars($classement['texte']).'</b><br> <img src="http://lamocheattitude.bl.ee/images/new_05.gif"> '.htmlspecialchars($classement['pseudo']).' points</div><hr>';
}
echo '';
?>
</body>
</html>