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