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