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