Welcome Guest, Not a member yet? Register   Sign In
[Solved] Selecting with date range using timestamp
#7

[eluser]acipayamli[/eluser]
Solved my own question;

using dots instead of commas (to combine all as a string)

Code:
$this->db->where('time_in > CURDATE() - INTERVAL '.$interval.' DAY');


Messages In This Thread
[Solved] Selecting with date range using timestamp - by El Forum - 10-15-2009, 12:20 PM
[Solved] Selecting with date range using timestamp - by El Forum - 10-15-2009, 01:17 PM
[Solved] Selecting with date range using timestamp - by El Forum - 10-15-2009, 01:25 PM
[Solved] Selecting with date range using timestamp - by El Forum - 10-15-2009, 01:28 PM
[Solved] Selecting with date range using timestamp - by El Forum - 10-15-2009, 01:48 PM
[Solved] Selecting with date range using timestamp - by El Forum - 03-23-2010, 02:55 PM
[Solved] Selecting with date range using timestamp - by El Forum - 03-23-2010, 03:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB