<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM databasefields"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $name = $resRow["name"]; // $fieldtype = $resRow["fieldtype"]; // $notes = $resRow["notes"]; // $versionid = $resRow["versionid"]; // $dbtid = $resRow["dbtid"]; // }