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