Voici le code
<table cellpadding="2" cellspacing="0" border="0">
<?php
require_once('Connections/connexion.php');
mysql_select_db($db, $connexion);
$query_team = "SELECT * FROM accessoires ORDER BY id_acc ASC";
$team = mysql_query($query_team, $connexion) or die(mysql_error());
$row_team = mysql_fetch_assoc($team);
do{
?>
<td valign="top"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" class="pn"><table border="0" cellpadding="2" cellspacing="1" bgcolor="#333333">
<tr>
<td align="center" bgcolor="#DDDDDD"><a href="?id_acc=<?php echo $row_team['id_acc']; ?>"><img src="<?php echo 'photos/'.$row_team['ref_acc']; ?> " alt="" name="photo" width="69" height="100" border="0" style="background-color: #0099CC"></a></td>
</tr>
</table></td>
</tr>
</table></td>
<?php
}while ($row_team = mysql_fetch_assoc($team));
?>
</table>
David