<tbody>

	<?php 
	$query	= mysqli_query($koneksi,"SELECT * FROM personal ORDER BY NAMA ASC");
	$nomor	= 1;

		while($data = mysqli_fetch_array($query))
		{
			$WA		= $data['HP'];
			$NOHAPE	= substr($WA, 1);
			$IDCODE	= "62";
			$NOWA	= $IDCODE . $NOHAPE;
			echo '<tr>
					<td>'.$nomor.'</td>
					<td>
					<a href="Pages-Kontak-Info.php?NIK='.$data['NIK'].'"> 
					'.$data['NIK'].'
					</a>
					</td>
					<td>'.$data['NAMA'].'</td>
					<td>
					<a href="https://api.whatsapp.com/send?phone='.$NOWA.'&text=Hello,%20saya%20dari%20" target="_blank">
					'.$data['HP'].'
					</a>
					</td>
					<td>'.$data['STATUS_PERNIKAHAN'].'</td>
					<td>'.$data['JUMLAH_ANAK'].'</td>
					<td>'.$data['NAMA_IBU_KANDUNG'].'</td>
					<td>'.$data['NO_KK'].'</td>
					<td>'.$data['EMAIL'].'</td>
					<td>'.$data['PERUSAHAAN'].'</td>
				</tr>';
			$nomor++;
		}
	?>
</tbody>