PHP scripts for inserting and selecting dates from database.
Using dates from database instead of hardcoded.