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