"Notice: Undefined property: CI_DB_mysqli_result::$result_array" when accessing row data of a CodeIgniter result set object [duplicate]
I am querying my database in my model then returning the CodeIgniter result set object to the controller layer. The problem is that when I call ->result_array on my result set object, I am getting a Notice and not able to access the row data. Notice: Undefined property: CI_DB_mysqli_result::$result_array Model: function editCategory($site_referers_id) { $this->db->select('tbl_ticket_categories.category_name,tbl_ticket_categories.description,tbl_users.username,tbl_ticket_repliers.user_id'); $this->db->where('site_referers_id', $site_referers_id); $this->db->join('tbl_ticket_repliers', 'tbl_tick
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.