phpdragon Posted March 30, 2009 Share Posted March 30, 2009 I have data stored in a mysql db, each record has the date stored in 3 seperate columns Day, Month and Year. what would be the best way to get all the results between 2 dates to display them? Link to comment https://forums.phpfreaks.com/topic/151709-date-record-query/ Share on other sites More sharing options...
Ayon Posted March 30, 2009 Share Posted March 30, 2009 best way would be storing the date in one column! but to answer your question.. you should create a valid date string by cominging the 3 ... year.'-'.month.'-'.day; then compare the results Link to comment https://forums.phpfreaks.com/topic/151709-date-record-query/#findComment-796718 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.