1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| <?php
session_start();
include("haut_dossier.php");
$select = "select* FROM produit WHERE categorie='sport' ORDER BY libeller ASC ";
$result = mysql_query($select,$link) or die ('Erreur : '.mysql_error() );
while($row = mysql_fetch_array($result)) { ?>
<br /><br /><br />
<table border="0" align="center" cellspacing="0" cellpadding="2" width="490">
tr><td colspan="7" class="pageName" height="40"><div align="center">La game des produits </div></td></tr>
<tr><td>
<?php echo''.$row['libeller'].'';?><br>
Quantité:
<a href="panier.php?action=ajout&l=<?php echo''.$row['libeller'].'';?>&q=$&p=<?php echo''.$row['prix'].'';?>">Ajouter au panier</a>
</td></tr>
<?php }?>
</table>
<?php include("bas_dossier.php");?> |
Partager