<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM sportstats"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $sportgame = $resRow["sportgame"]; // $member = $resRow["member"]; // $sportstattype = $resRow["sportstattype"]; // $amount = $resRow["amount"]; // }