Welcome Guest, Not a member yet? Register   Sign In
active record - simple mysql statement but not working
#4

[eluser]CI MikeD[/eluser]
eh,the joy was shortlived. Above statement produces
Code:
ending = 'DATE_ADD(CURRENT_DATE,INTERVAL 1 DAY)'
but it should be
Code:
ending = DATE_ADD(CURRENT_DATE,INTERVAL 1 DAY)
, without simple quotes. I checked some thread and some people have simmilar problems. So there is no way (i do not want to write helpers or modify CI code) active record can produce this without active record adding single quotes? It would be "shame" to not use active record for such a small issue,i really like it Smile

Or did i miss something?


Messages In This Thread
active record - simple mysql statement but not working - by El Forum - 01-10-2008, 07:53 AM
active record - simple mysql statement but not working - by El Forum - 01-10-2008, 08:15 AM
active record - simple mysql statement but not working - by El Forum - 01-10-2008, 08:34 AM
active record - simple mysql statement but not working - by El Forum - 01-11-2008, 02:37 AM
active record - simple mysql statement but not working - by El Forum - 01-11-2008, 03:04 AM
active record - simple mysql statement but not working - by El Forum - 01-11-2008, 06:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB