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