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