Is there any way to show cell values from html table to textboxes when a specific row was clicked ?
$result=mysqli_query($conn, $sql1);
echo "<table class='data'>
<tr>
<th>Agent ID</th>
<th>Fullname</th>
<th>Address</th>
<th>Gender</th>
<th>Contact</th>
</tr>";
while($row=mysqli_fetch_assoc($result))
{
echo "<tr>";
echo "<td>". $row['id']. "</td>";
echo "<td>". $row['fullname']. "</td>";
echo "<td>". $row['address']. "</td>";
echo "<td>". $row['gender']. "</td>";
echo "<td>". $row['contact']. "</td>";
echo "</tr>";
}
echo "</table>";
?>