Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $rez = mysqli_query($kon, "SELECT * FROM products");
- echo "<form action="" method="post">";
- while($red = mysqli_fetch_assoc($rez)){
- $niz = array(
- array($red["id"],0)
- );
- echo "<tbody class="js--isotope-target col-sm-12 js--cat-1">
- <tr class="cart_table_item">
- <td rowspan="3" class="product-thumbnail"><img src="images/upload/". $red["id"] .".jpg"></td>
- <td class="product-name"><a href="#">Appel</a> ( <span style="font-size:14;font-weight:bold;color: #71a866;">€18</span> )</td>
- </tr>
- <tr>
- <td>". $red["info"] ."</td>
- </tr>
- <tr>
- <td>
- <div class="quantity js--quantity">
- <input type="button" name="btnQua" value="-" class="quantity__button js--minus-one js--clickable" style="width:18px;height:24px;">
- <input type="text" name="quantity" value="1" class="quantity__input" disabled style="width:24px;height:24px;">
- <input type="button" name="btnQua" value="+" class="quantity__button js--plus-one js--clickable" style="width:18px;height:24px;">
- </div>
- <a class="btn btn-primary--transition" href="#" style="padding:3px 7px;">
- <!--<span class="glyphicon glyphicon-plus"></span>--><span class="glyphicon glyphicon-shopping-cart"></span>
- </a>
- </a>
- </td>
- </tr>
- </tbody>
- <button type="submit" name="btnSubmit">Add everything to the cart</button>";
- }
- echo "</form>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement