add PHP input form with date calculator