<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM resources"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $title = $resRow["title"]; // $body = $resRow["body"]; // $resourcecategory = $resRow["resourcecategory"]; // $dorder = $resRow["dorder"]; // $membership = $resRow["membership"]; // $image = $resRow["image"]; // }