Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while ($stmt->fetch()) {
- $id=urlencode($id);
- echo "<div class='product'>";
- echo "<ul>";
- echo "<li> <img src='" . $image. "'</li>";
- echo "<li class='name'> <strong>" . $name . " </strong> </li>";
- echo "<li> £" . $price . "</li>";
- echo "<li> <a href='cartControl.php?ID=" . $id. "&action=add'> Add to cart </a> </li>";
- echo "</div>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement