Iluvatar+ Posted March 20, 2012 Share Posted March 20, 2012 I need to be able to select all fields that have a date thats passed. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/259342-get-all-fields-with-expired-date/ Share on other sites More sharing options...
smerny Posted March 20, 2012 Share Posted March 20, 2012 SELECT * FROM table WHERE date < CURDATE(); assuming it's just a date Quote Link to comment https://forums.phpfreaks.com/topic/259342-get-all-fields-with-expired-date/#findComment-1329477 Share on other sites More sharing options...
Iluvatar+ Posted March 20, 2012 Author Share Posted March 20, 2012 Thank you Quote Link to comment https://forums.phpfreaks.com/topic/259342-get-all-fields-with-expired-date/#findComment-1329482 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.