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
|
<?
.....
$sql = "SELECT image, designation_produit, prix_produit FROM produit WHERE type_produit = 'ordinateur de bureau'";
$m = mysql_query($sql);
while ($fe = mysql_fetch_array($m))
{
echo" <table border = '1'>";
echo "<form method = 'POST' action = detail.php>";
extract($fe);
echo "<tr><td>
<input type = hidden name = 'article' value = \"".$desi."\">
<a href= \"#\" onclick= ImageMax(\"http://127.0.0.1/oceanecoin/PHOTOSITEINFO/",$image,"\");>
<img src= http://127.0.0.1/oceanecoin/PHOTOSITEINFO/",$image," width=\"213\" height=\"180\" border=\"0\" hspace=\"40\" Hspace=10 ></a>";
echo"<p><center>".$fe[1]."</p>
<p><font color = red><b>".$fe[2]."</font></b></p>
<input type = submit value = detail name = detail>
</td></tr>";
echo" </table>";
echo"</form>";
}
echo"<br>
</html> ";
?> |
Partager