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