<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM studyhistory"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $member = $resRow["member"]; // $libraryid = $resRow["libraryid"]; // $bookid = $resRow["bookid"]; // $chapterid = $resRow["chapterid"]; // $verseid = $resRow["verseid"]; // $laststudy = $resRow["laststudy"]; // $studycount = $resRow["studycount"]; // $highlight = $resRow["highlight"]; // $memorize = $resRow["memorize"]; // $studytype = $resRow["studytype"]; // $language = $resRow["language"]; // }