LiamG Posted March 18, 2003 Share Posted March 18, 2003 Hi guys...hope all are well. How does one say, like: Quote SELECT * FROM `calendar` WHERE date = ---TODAY--- ORDER BY `date` DESC LIMIT 0,1?? Thanks, LiamG. ps - also - like --TODAY-- + 1 day Link to comment https://forums.phpfreaks.com/topic/235-select-statement-today/ Share on other sites More sharing options...
effigy Posted March 18, 2003 Share Posted March 18, 2003 get the date via php\'s date() function and embed it into the query. Link to comment https://forums.phpfreaks.com/topic/235-select-statement-today/#findComment-704 Share on other sites More sharing options...
LiamG Posted March 18, 2003 Author Share Posted March 18, 2003 Thanks. Link to comment https://forums.phpfreaks.com/topic/235-select-statement-today/#findComment-705 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.