1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| echo "<table border=\"1\" id=\"box_result1\"><tr>
<td width=\"50px\">A</td>
<td width=\"50px\">A</td>
<td width=\"200px\">M</td>
<td width=\"50px\">P</td>
<td width=\"50px\">M</td>
<td width=\"50px\">K</td>
<td width=\"50px\">D</td>
</tr></table>";
echo "<table border=\"1\" id=\"box_result1\"><tr>
<td width=\"50px\">photos1</td>
<td width=\"50px\">1985</td>
<td width=\"200px\">une petite description pas aussi grosse que les autres</td>
<td width=\"50px\">15</td>
<td width=\"50px\">42</td>
<td width=\"50px\">23</td>
<td width=\"50px\">4</td>
</tr></table>";
while ($db = mysql_fetch_array($requete) )
{
echo "<table border=\"1\" id=\"box_result1\"><tr>
<td width=\"50px\">";
if (file_exists("img/photos/".$db['v_id']."-1.jpg")){
echo ' <img src="img/photos/',$db['v_id'],'-1.jpg"/>';
}
else {
echo ' <img src="img/photos/defaut.gif"/>';
}
echo '</td>
<td width=\"50px\">',substr($db['v_mise_en_circulation'],0,4),'</td>
<td width=\"200px\"> l hrelkre kljghrekjghrehg qelkhg qlkjhgkjre hg kjqhrkjgqhrekjgh qrkjhgkjrehqkjghreqkjghqekjrhgkjrheqkjgjkhrklqjfhre kjgheqrkjg qlerkjg eqrkjlg',$db['v_marque'],$db['v_modele'],$db['v_version'],'</td>
<td width=\"50px\">',$db['vl_paiement_mensuel_actuel'],'</td>
<td width=\"50px\">',$db['vl_mois_restant'],'</td>
<td width=\"50px\">',$db['vl_tt_km_autorise'],'</td>
<td width=\"50px\">',$db['u_cp'],'</td>';
echo "</tr></table>";
} |
Partager