Welcome Guest, Not a member yet? Register   Sign In
Active record WHERE clause not working?
#15

[eluser]xarazar[/eluser]
Thanks InsiteFX.
To be perfectly honest I have the feeling that you're trying to explain to me how to use WHERE whereas my problem lies in the fact that any database queries run in my model don't seem to accept the WHERE clause unless I put my queries within the controller (bad idea) or use get_where() which is fine but I shouldn't have to.
I have the latest version of CI.

So the questions are:

1. Why does WHERE work in the controller and doesn't work in the model?
2. Why get_where() works fine (in the model) whereas where() doeasn't?


Messages In This Thread
Active record WHERE clause not working? - by El Forum - 03-08-2011, 09:27 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 09:41 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 09:43 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 09:45 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 09:49 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 10:02 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 10:13 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 10:27 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 10:38 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 10:51 AM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 12:09 PM
Active record WHERE clause not working? - by El Forum - 03-08-2011, 03:37 PM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 04:03 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 04:51 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 05:00 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 05:46 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 05:54 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 05:55 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 05:56 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 06:04 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 06:12 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 06:34 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 06:39 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 06:47 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 09:41 AM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 05:41 PM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 06:17 PM
Active record WHERE clause not working? - by El Forum - 03-09-2011, 06:23 PM
Active record WHERE clause not working? - by El Forum - 05-12-2011, 03:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB