Commit 3eb9640d by Jansa Jose

get banners

parent d546765f
...@@ -2436,6 +2436,7 @@ public function get_recuring_rideid_data($id){ ...@@ -2436,6 +2436,7 @@ public function get_recuring_rideid_data($id){
} }
public function get_banners(){ public function get_banners(){
$this->db->select("IF(image != NULL OR image != '' , concat('".base_url()."',image) , '') image");
return $this->db->get_where('banner')->result(); return $this->db->get_where('banner')->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