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