WHERE clause from controller method's final query is added to CodeIgniter's session UPDATE query and causes query failure [closed]
In my CodeIgniter application, I am interacting with my database from the controller layer. I collect user submission and database data before loading my view file. The problem is that the last query builder script contains a WHERE clause condition that is mysteriously leaking into a session-related UPDATE query executed outside of my controller method. I don't understand why this is happening or how to fix it. function student_feeConfig() { // ...irrelevant portion of code if ($class_id != -1) { $this->db->select('enroll.group_id, student_feeConfig.*'); $this->db->from('enroll'); $this->db->j
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.