refer to http://www.w3schools.com/php/php_mysql_select.asp .
If you are a beginner and want to learn, w3schools is a good place.
";
}
mysqli_close($con);
?>
You can similarly echo it inside your table
";
while($row = mysqli_fetch_array($result))
{
echo "| " . $row['FirstName'] . " | " . $row['LastName'] . " |
"; //these are the fields that you have stored in your database table employee
}
echo "";
mysqli_close($con);
?>