<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM expenses"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $title = $resRow["title"]; // $recipient = $resRow["recipient"]; // $recipienttype = $resRow["recipienttype"]; // $expensecategory = $resRow["expensecategory"]; // $added = $resRow["added"]; // $amount = $resRow["amount"]; // $currency = $resRow["currency"]; // $company = $resRow["company"]; // $recipienttitle = $resRow["recipienttitle"]; // }