<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM timesheet"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $eid = $resRow["eid"]; // $timein = $resRow["timein"]; // $timeout = $resRow["timeout"]; // $completed = $resRow["completed"]; // $descr = $resRow["descr"]; // }