<?php include("dbconn.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM socialcontenttypes"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $title = $resRow["title"]; //Social Content Type Title }