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