<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM lessons"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $title = $resRow["title"]; // $dorder = $resRow["dorder"]; // $prerequisite = $resRow["prerequisite"]; // $description = $resRow["description"]; // $moreinfo = $resRow["moreinfo"]; // $access = $resRow["access"]; // $thumbnail = $resRow["thumbnail"]; // $active = $resRow["active"]; // $canskip = $resRow["canskip"]; // }