Error Number: 1054 Unknown column 'status' in 'where clause' SELECT * FROM `web_slider` WHERE `status` = 1 ORDER BY `slider_id` ASC Filename: models/website/Web_model.php Line Number: 95
This is the code:
PHP Code:
public function active_slider() { return $this->db->select('*') ->from('web_slider') ->where('status', 1) ->order_by('slider_id', 'asc') ->get() ->result();