<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM socialcontentassign"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $socialcontent = $resRow["socialcontent"]; // $scparentid = $resRow["scparentid"]; // $added = $resRow["added"]; // }