<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM socialstats"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $added = $resRow["added"]; // $member = $resRow["member"]; // $ttype = $resRow["ttype"]; // $ttypeid = $resRow["ttypeid"]; // $ctype = $resRow["ctype"]; // $ctypeid = $resRow["ctypeid"]; // $likes = $resRow["likes"]; // $comments = $resRow["comments"]; // $clicks = $resRow["clicks"]; // $shares = $resRow["shares"]; // $socialid = $resRow["socialid"]; // $updated = $resRow["updated"]; // }