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