Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table width="100%" border="0">
- <tr><td colspan="4"><div id="view-product">View Product</div></td></tr>
- <tr>
- <?php
- include "koneksi.php";
- $sql=mysql_query("select * from product");
- $no=0;
- while($data=mysql_fetch_array($sql) and $no<=11){
- echo "<td width='25%' id='bgproduct'><img src='admin/produk/upload/$data[picture_product]' width='120' height='100'>
- <br><b id='name-product'>$data[name_product]</b>
- <br><b id='harga'>$data[price_product]</b>
- <br><a href='product-detail.php?code=$data[code_product]'><img src='images/detail.png'></a></td>";
- $no++;
- if($no % 4==0){
- }
- }
- ?>
- </tr>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment