<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM pageformsettings"); while ($resRow = $results->fetch_assoc()) { $class = $resRow["class"]; // $pagecontent = $resRow["pagecontent"]; // $redirect = $resRow["redirect"]; // $contactgroup = $resRow["contactgroup"]; // }