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