<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM billingagreementpayments"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $billingagreement = $resRow["billingagreement"]; // $billingpayment = $resRow["billingpayment"]; // $paymentprocessorsetup = $resRow["paymentprocessorsetup"]; // $amount = $resRow["amount"]; // $pos = $resRow["pos"]; // $isdirect = $resRow["isdirect"]; // $nextbilldate = $resRow["nextbilldate"]; // $title = $resRow["title"]; // $active = $resRow["active"]; // }