<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM placephotos"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $place = $resRow["place"]; // $title = $resRow["title"]; // $filename = $resRow["filename"]; // $extension = $resRow["extension"]; // }