<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM smsinbox"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $fromphone = $resRow["fromphone"]; // $added = $resRow["added"]; // $message = $resRow["message"]; // $member = $resRow["member"]; // $contact = $resRow["contact"]; // $smsaccount = $resRow["smsaccount"]; // $viewed = $resRow["viewed"]; // }