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