Hello All,
One of our scripts sends out an test email for the next days current events to our staff members, and it was working and now the query to get tomorrows article, returns no rows.
Here is the query ( I stripped it down to the basics to eliminate any other factors).
SELECT *
FROM daily_events
Where PostDate=(CurDate()+1)
There is an article for tomorrow (2010-12-01).
Here is the PostDate format:
Type: date
Length: 0
Decimals: 0
Allow Null: not checked
Tomorrows article has the date '2010-12-01'.
If I run a -1 I get an article. There are articles for the rest of the week, and if I run +2, +3, etc, I still do not get an article.
I am stumped this worked until now.
Thanks,
Don