<tbody>

	<?php 
	$query_mysql = mysqli_query($koneksi,"SELECT * FROM personal ORDER BY NIK ASC");
	$nomor = 1;
		while($data = mysqli_fetch_array($query_mysql))
		{
			echo '<tr>
					<td>'.$nomor.'</td>
					<td>
					<a href="Pages-Emp-Info.php?NIK='.$data['NIK'].'"> 
					'.$data['NIK'].'
					</a>
					</td>
					<td>'.$data['NOREG'].'</td>
					<td>'.$data['NAMA'].'</td>
					<td>'.$data['TGL_AWAL_KONTRAK'].'</td>
					<td>'.$data['TGL_RESIGN'].'</td>
					<td>'.$data['TGL_AKHIR_KONTRAK'].'</td>
					<td>'.$data['POSISI_KERJA'].'</td>
					<td>'.$data['LOKASI_KERJA'].'</td>
					<td>'.$data['DEPARTEMENT'].'</td>
					<td>'.$data['PERUSAHAAN'].'</td>
					<td>'.$data['STATUS'].'</td>
				</tr>';
			$nomor++;
		}
	?>
</tbody>