<table class="table"> <thead> <tr> <th>#</th> <th>Mock up</th> <th>Product ID</th> <th>ชื่อลาย</th> <th>วันที่ทำเพิ่มข้อมูล</th> <th>ดูรายละเอียด</th> </tr> </thead> <tbody> <?php $data = array(); $data = $product->get_product_wait_confirm(); //print_r($data); $i = 1; //print_r($data); if (isset($data)) { foreach ($data as $k => $v) { ?> <tr> <td scope=row><?php echo $i; ?> </td> <td><img class="img-rounded" src="../uploads/member_<?php echo $v['member_id'] . "/" . $v['product_mockup']; ?> " width="200" alt="" /></td>