<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM albumaccess"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $album = $resRow["album"]; // $accesstype = $resRow["accesstype"]; // $accessid = $resRow["accessid"]; // }