Commit 36f1a3ec by Jansa Jose

feedback patient

parent 72c950b3
...@@ -23,7 +23,7 @@ class Appfeedback extends CI_Controller { ...@@ -23,7 +23,7 @@ class Appfeedback extends CI_Controller {
public function patient_index(){ public function patient_index(){
$result = $this->Appfeedback_model->get_patient_feedback(); $result = $this->Appfeedback_model->get_patient_feedback();
print_r($result);exit(); //print_r($result);exit();
$template['page'] = "Appfeedback/feedback_patient"; $template['page'] = "Appfeedback/feedback_patient";
$template['page_title'] = "Manage Feedbacks"; $template['page_title'] = "Manage Feedbacks";
$template['data'] = $result; $template['data'] = $result;
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</div> </div>
<div class="box-body"> <div class="box-body">
<?php if(count($data) > 0){?> <?php if($data != ''){?>
<table class="table table-bordered table-striped datatable" data-ordering="true"> <table class="table table-bordered table-striped datatable" data-ordering="true">
<thead> <thead>
<tr> <tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment