phpmady Posted May 30, 2010 Share Posted May 30, 2010 Hi, How to select the past dates in the table thanks Link to comment https://forums.phpfreaks.com/topic/203368-using-dates/ Share on other sites More sharing options...
-Karl- Posted May 30, 2010 Share Posted May 30, 2010 Very vague question, what exactly are you trying to do? Link to comment https://forums.phpfreaks.com/topic/203368-using-dates/#findComment-1065416 Share on other sites More sharing options...
jcbones Posted May 30, 2010 Share Posted May 30, 2010 $sql = "SELECT * FROM `table` WHERE `date` < CURDATE()"; Link to comment https://forums.phpfreaks.com/topic/203368-using-dates/#findComment-1065423 Share on other sites More sharing options...
phpmady Posted May 31, 2010 Author Share Posted May 31, 2010 $sql = "SELECT * FROM `table` WHERE `date` < CURDATE()"; thanks, this is what i expect Link to comment https://forums.phpfreaks.com/topic/203368-using-dates/#findComment-1065675 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.