Commit 571376e5 by Jansa Jose

exammsmodel

parent dd94c618
...@@ -27,7 +27,8 @@ class Exam_model extends CI_Model { ...@@ -27,7 +27,8 @@ class Exam_model extends CI_Model {
$all_exams = $this->db->get('tbl_exams'); $all_exams = $this->db->get('tbl_exams');
if($all_exams->num_rows() > 0){ if($all_exams->num_rows() > 0){
$result = $all_exams->result_array(); $result = $all_exams->result_array();
echo $this->db->last_query();exit(); //echo $this->db->last_query();exit();
print_r($result);exit();
return $result; return $result;
} }
} }
......
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