Does anyone know why this code isn't working today?!
I have a bulletin board, and on the front page it shows the recent post's for the last 4 days.. if i set the date of a database entry to 30MAY10 it works just fine.. but if it get's set to 01JUN10 it doesn't show up..Code:$four_days_ago = strftime("d-M-y", strtotime("-4 days")); $query2 = "SELECT * FROM bobo WHERE date_time >= '$four_days_ago' ORDER BY id";
Any help/thought is appreciated!
Cory



Reply With Quote


Bookmarks