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