Query Builder Where Not Working With Join |
I am working on my profile display library
And I need to be able to have a db->where for my user_permission table. It works fine and displays correct data with out it but would like to find out why when ever I use this line below it does not work PHP Code: $this->CI->db->where('up.user_permission_id', 'u.user_permission_id'); But if I comment that line out I can get data. How could I still use that line and display data. PHP Code: <?php Could you please explain why it return in no information with this $this->CI->db->where('up.user_permission_id', 'u.user_permission_id'); But when I comment it out it works? I am confused.
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Query Builder Where Not Working With Join - by wolfgang1983 - 11-08-2015, 11:20 PM
RE: Query Builder Where Not Working With Join - by pdthinh - 11-08-2015, 11:54 PM
RE: Query Builder Where Not Working With Join - by wolfgang1983 - 11-09-2015, 12:00 AM
|