Friends of Hobbiton
//Pull the information from the data table
$sql = "SELECT first_name, last_name, email_address, profile_pic FROM contact_info";
$result = mysqli_query($con, $sql);
//Check to see if access to the table was successful or not
if (!$result) {
die("Access to table failed: " . mysqli_error());
}
else {
while ($item = mysqli_fetch_array($result)) {
echo "
";
} //close while loop
} //close the else statement
?>