public function display() { $payee = new Payees(); $payee->payeeID = $_SESSION['payeeDeleteID']; $payee->getPayee(); $_SESSION['accountName'] = $payee->accountName; $_SESSION['accountNickname'] = $payee->accountNickname; $_SESSION['bsb'] = $payee->bsb; $_SESSION['accountNumber'] = $payee->accountNumber; include 'view/layout/payeedelete.php'; }
<?php /* * Author: Grant Kinkead * Student Number: s3444261 * Student Email: s3444261@student.rmit.edu.au * * CPT375 Web Database Applications * 2015 - Study Period 2 */ $payee = new Payees(); $payee->payeeID = $_SESSION['payeeModifyID']; $payee->userID = $_SESSION['userID']; $payee->getPayee(); $_SESSION['bsb'] = $payee->bsb; $_SESSION['accountName'] = $payee->accountName; $_SESSION['accountNickname'] = $payee->accountNickname; $_SESSION['accountNumber'] = $payee->accountNumber; ?> <h1>Modify Payee Details</h1> <div class="row"> <div class="bluestripe"></div> </div> <div class="row"> <div class="col-lg-10 col-lg-offset-1 col-md-10 col-md-offset-1 col-sm-10 col-sm-offset-1 col-xs-10 col-xs-offset-1 details pupdateing20"> <form class="form-inline" method="post" action="Payee-List"> <div class="row marginTop20"> <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">Account Name:</div> <div class="col-xs-9 col-sm-9 col-md-9 col-lg-9">