I get the CI_DB_mysqli_driver::row_array() in Codeigniter -
i ci_db_mysqli_driver::row_array() error when trying display cell value.
this model
function list_get($id){ $this->load->database(); $query = $this->db-> select('*') ->from('lists') ->join('list_items', 'list_items.items_list_id = lists.list_id') ->where('items_list_id', $id); return $query->row_array(); }
the error appears when try echo
view <?echo $query['list_by'];?>
Comments
Post a Comment