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