<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM pagecontents"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $page = $resRow["page"]; // $type = $resRow["type"]; // $style = $resRow["style"]; // $class = $resRow["class"]; // $location = $resRow["location"]; // $value = $resRow["value"]; // $dorder = $resRow["dorder"]; // $membercanedit = $resRow["membercanedit"]; // $share = $resRow["share"]; // $pagecontent = $resRow["pagecontent"]; // }