How to link data to another page by id : if($result-> num_rows > 0){
	while ($row = $result-> fetch_assoc()) {
		
			echo "<tr><td>". $row["ic"] ."</td><td>". $row["name"] ."</td><td>". $row["jawatan"] ."</td></tr>";
			echo "<tr><td><button onclick="location.href='testProfile.php?id= $row["ic"]';">quick view</button></td></tr>";


	}
		echo "</table>";
}