Example #1
0
										<tr>
                                        		<th>No</th>
                                        		<th>Kode Supplier</th>
												<th>Supplier</th>
                                        		<th>Alamat Supplier</th>
												<th>No Tlp / Hp</th>
                                        		<th>Aktif/Tidak</th>
												<th>Action</th>
                                        </tr>
										<tr class="danger no-result">
										<td colspan="7"><i class="fa fa-warning"></i> Data Tidak Di temukan</td>
										</tr>
										
										</thead>
                                    <?php 
        $total_rows = $supplier->countAll();
        //$nomor=($page-1)*$total_rows;
        //$nomor=($page-1)*5;
        $halaman = 0;
        $no = 0;
        $subtotal = 0;
        while ($row = $statement->fetch(PDO::FETCH_ASSOC)) {
            extract($row);
            echo "<tr>";
            $no = $no + 1;
            echo "<td>{$no}</td>";
            echo "<td>{$supplier_kode}</td>";
            echo "<td>{$supplier_nama}</td>";
            echo "<td>{$supplier_alamat}</td>";
            echo "<td>{$supplier_hp}</td>";
            echo "<td>";