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