Hello,
I’m calling up database entries using this string:
select * from table WHERE date>=NOW() ORDER BY date ASC
The problem… it’s pulling all records > than NOW, not including today. Why would this happen?
Thanks.
Nick
Hello,
I’m calling up database entries using this string:
select * from table WHERE date>=NOW() ORDER BY date ASC
The problem… it’s pulling all records > than NOW, not including today. Why would this happen?
Thanks.
Nick
Because it is checking the time aswell, not just the date. so NOW() is > any thing recorded today.
I could be wrong
Hi there,
Try putting:
date>=DATE(NOW()) ORDER BY