Welcome Guest, Not a member yet? Register   Sign In
Active record and date in where statement
#17

[eluser]WanWizard[/eluser]
The only issues I can see is that for some reason your numbers are quoted as strings. Which might cause unwanted behaviour for atempt > '3', depending on your column definition. And 'action_id' in the CI query is defined as a string literal, while in your modified version it's defined without quotes, so it's a column name.


Messages In This Thread
Active record and date in where statement - by El Forum - 07-21-2010, 09:14 AM
Active record and date in where statement - by El Forum - 07-21-2010, 09:36 AM
Active record and date in where statement - by El Forum - 07-21-2010, 09:37 AM
Active record and date in where statement - by El Forum - 07-21-2010, 09:44 AM
Active record and date in where statement - by El Forum - 07-21-2010, 09:53 AM
Active record and date in where statement - by El Forum - 07-21-2010, 01:29 PM
Active record and date in where statement - by El Forum - 07-21-2010, 02:57 PM
Active record and date in where statement - by El Forum - 07-21-2010, 09:16 PM
Active record and date in where statement - by El Forum - 07-22-2010, 12:35 AM
Active record and date in where statement - by El Forum - 07-22-2010, 02:06 AM
Active record and date in where statement - by El Forum - 07-22-2010, 02:16 AM
Active record and date in where statement - by El Forum - 07-22-2010, 02:31 AM
Active record and date in where statement - by El Forum - 07-22-2010, 02:40 AM
Active record and date in where statement - by El Forum - 07-22-2010, 02:49 AM
Active record and date in where statement - by El Forum - 07-22-2010, 04:11 AM
Active record and date in where statement - by El Forum - 07-22-2010, 04:18 AM
Active record and date in where statement - by El Forum - 07-22-2010, 04:29 AM
Active record and date in where statement - by El Forum - 07-22-2010, 04:37 AM
Active record and date in where statement - by El Forum - 07-22-2010, 05:31 AM
Active record and date in where statement - by El Forum - 07-22-2010, 05:50 AM
Active record and date in where statement - by El Forum - 07-22-2010, 05:54 AM
Active record and date in where statement - by El Forum - 07-22-2010, 06:03 AM
Active record and date in where statement - by El Forum - 07-22-2010, 06:16 AM
Active record and date in where statement - by El Forum - 07-22-2010, 06:31 AM
Active record and date in where statement - by El Forum - 09-25-2010, 10:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB