<th>Tanggal Order</th> <th>Tanggal Pengiriman</th> <th>Tanggal Terima</th> <th>Tujuan</th> <th>Ongkos Kirm</th> <th>Status pengiriman</th> <th>Action</th> <th>Approve</th> </tr> </thead> <tbody> <?php $i = 1; foreach ($findapprove->findKendaraan() as $key => $valuesk) { foreach ($findapprove->findApprovebyKendaraan($valuesk['kode']) as $key => $value) { ?> <tr> <?php if ($i == 1) { echo "<td rowspan="; echo $valuesk['count_kendaraan']; echo ">"; echo $valuesk['nomor_polisi']; echo "</td>"; } ?> <td><?php echo $value['date_order_placed']; ?>