<?
include ("connexion_gal.php" );
$requette= mysql_query("SELECT * FROM gal ORDER BY id desc" );
?>
<table width="100%" border="0" bgcolor="333333">
<tr>
<td>
<?
while($valeurlu = @mysql_fetch_array($requette)) //debut de la boucle
{
?>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="FFE300"><? printf($valeurlu["date"]);?>:</font>
<a href="http://backgrounds.free.fr/galeries/galerie.php?rep=<? printf($valeurlu["rep"]);?>&nb=<? printf($valeurlu["nb"]);?>" target="_blank"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="FFFFFFF"><? printf($valeurlu["nom"]);?></font></a>
<br>
<?
$test=$valeurlu["id"];
if($test == '10' echo"teste<br>";
}
?>
</td>
</tr>
</table>