Welcome Guest, Not a member yet? Register   Sign In
CI ActiveRecords problem with "where between...
#1

[eluser]Tonko[/eluser]
Hi all, i need help... I use ActiveRecords and I want to capture some records from one date ($tolerance) to another date ($date)...the problem is when i use: ->where('`date` BETWEEN (`'.$tolerance.'` AND `'.$date.'`)', NULL, FALSE) ... i am getting syntax error...can anybody help? thanks
#2

[eluser]PhilTem[/eluser]
You're getting a database syntax error or a PHP syntax error?




Theme © iAndrew 2016 - Forum software by © MyBB