<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM eventextras"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $eventprice = $resRow["eventprice"]; // $amount = $resRow["amount"]; // $begin = $resRow["begin"]; // $end = $resRow["end"]; // $timetype = $resRow["timetype"]; // }