connect_error) { die("Connection failed: " . $connect->connect_error); } echo "Connected successfully"; echo "
"; echo"
"; $sql = mysqli_query($connection, "SELECT username FROM users"); while ($row = $sql->fetch_assoc()){ echo "
" . $row['location'] . "
"; } echo "
"; echo "
Location:
";
"; $sql = mysqli_query($connection, "SELECT username FROM users"); while ($row = $sql->fetch_assoc()){ echo "
" . $row['date_taken'] . "
"; } echo "
"; echo "
Date Taken:
"; ?>