Advertisement
Guest User

Untitled

a guest
Aug 1st, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. $rez = mysqli_query($kon, "SELECT * FROM products");
  2. echo "<form action="" method="post">";
  3. while($red = mysqli_fetch_assoc($rez)){
  4. $niz = array(
  5. array($red["id"],0)
  6. );
  7. echo "<tbody class="js--isotope-target col-sm-12 js--cat-1">
  8. <tr class="cart_table_item">
  9. <td rowspan="3" class="product-thumbnail"><img src="images/upload/". $red["id"] .".jpg"></td>
  10. <td class="product-name"><a href="#">Appel</a> ( <span style="font-size:14;font-weight:bold;color: #71a866;">€18</span> )</td>
  11. </tr>
  12. <tr>
  13. <td>". $red["info"] ."</td>
  14. </tr>
  15. <tr>
  16. <td>
  17. <div class="quantity js--quantity">
  18. <input type="button" name="btnQua" value="-" class="quantity__button js--minus-one js--clickable" style="width:18px;height:24px;">
  19. <input type="text" name="quantity" value="1" class="quantity__input" disabled style="width:24px;height:24px;">
  20. <input type="button" name="btnQua" value="+" class="quantity__button js--plus-one js--clickable" style="width:18px;height:24px;">
  21. </div>
  22. <a class="btn btn-primary--transition" href="#" style="padding:3px 7px;">
  23. <!--<span class="glyphicon glyphicon-plus"></span>--><span class="glyphicon glyphicon-shopping-cart"></span>
  24. </a>
  25.  
  26. </a>
  27. </td>
  28. </tr>
  29. </tbody>
  30. <button type="submit" name="btnSubmit">Add everything to the cart</button>";
  31. }
  32. echo "</form>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement