Todays Date: echo $date; ?>
Are you applying for a day, evening, or weekend class?
Your javascript does not have access to your PHP variables, unless you request them via AJAX.
However, you don't have to use AJAX. You could use your PHP code to build the Javascript code before it is sent to the browser!!
Here's one way of doing it:
Today's Date:
Are you applying for a day, evening, or weekend class?
Program Start Date:
An even better option would be to just create the second select
outright, and then show/hide it when needed:
Today's Date:
Are you applying for a day, evening, or weekend class?
Program Start Date: