} echo '</tbody> </table>'; } ?> <?php } else { ?> <h4 align="center" class="alert alert-success">Fees</h4> <?php $default = "No Information Supplied"; $other_programme = "SELECT * FROM other_programme_details WHERE applicant_id='" . $session->applicant_id . "'"; $other_programme_details = OtherProgramme::find_by_sql($other_programme); foreach ($other_programme_details as $other_programme_detail) { $other_programme_detail->sponsor_occupation; $other_programme_detail->sponsor_address; } ?> <table class="table table-bordered table-hover"> <tbody> <tr> <td width="2%">Name of person or body who will be responsible for your fees: <span style=" font-weight: bold; text-shadow: 1px 1px 4px #51A351;"><?php echo $other_programme_detail->sponsor_fullname; ?> </span> Address: <span style=" font-weight: bold; text-shadow: 1px 1px 4px #51A351;"><?php