<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM primarypages"); while ($resRow = $results->fetch_assoc()) { $member = $resRow["member"]; // $url = $resRow["url"]; // $contentgroup = $resRow["contentgroup"]; // }