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