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