<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM socialvartemplatevars"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $socialvartemplate = $resRow["socialvartemplate"]; // $title = $resRow["title"]; // $defaultvalue = $resRow["defaultvalue"]; // $pos = $resRow["pos"]; // $allowedit = $resRow["allowedit"]; // $editinput = $resRow["editinput"]; // }