<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM socialcontacts"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $socialconnect = $resRow["socialconnect"]; // $contact = $resRow["contact"]; // $socialuserid = $resRow["socialuserid"]; // }