<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM sportgames"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $hometeam = $resRow["hometeam"]; // $awayteam = $resRow["awayteam"]; // $sportleague = $resRow["sportleague"]; // $begin = $resRow["begin"]; // $end = $resRow["end"]; // $homescore = $resRow["homescore"]; // $awayscore = $resRow["awayscore"]; // }