php - Let me know solution because something wrong in my codeigniter model -
error number: 1054
unknown column 'array' in 'where clause'
select `cat_name` (`cat_manager`) `parent_id` = array
if using codeigniter why don't use codiegniter active record library make sql queries writing them plain sql.
$select = $this->db->select('cat_name') ->from('cat_manager') ->where_in('parent_id', $yourarray); $result = $this->db->get()->result_array();
Comments
Post a Comment