          
          <h1>LAPORAN DATA NAHKODA</h1>
          <br>
          <table border="1" width="100%" style="border-collapse:collapse">
             <thead>
                <tr>
                    <th>No</th>
                    <th>Nama ABK</th>
                    <th>Alamat</th>
                    <th>No Telepon</th>
                </tr>
            </thead>
            <tbody>
			<?php  
				    include("config/connection.php");
              		$sql ="select * from tb_abk where Status ='1'";
					$hasil = mysql_query($sql) or die("Kesalahan Pada SQL");
					mysql_close($test);
					
					while($row = mysql_fetch_object($hasil)){
						$id = $row->id_abk;
						$nama = $row->nama;
						$alamat = $row->alamat;
						$telp = $row->telp;
						
			?>
            		<tr>
                    	<td><?php echo $id ?></td>
                        <td><?php echo $nama ?></td>
                        <td><?php echo $alamat ?></td>
                        <td><?php echo $telp ?></td>
                    </tr>
            <?php		
					}
			?>         
        	</tbody>
          </table>
