Well, first, since PHP code always is handled SERVER-SIDE and then posts it’s results to the browser,
I usually place my PHP code at the beginning of the page. It just seems normal to me to think of the
PHP code executing first, then the HTML/CSS/JS…
Also, you have a very odd line of a disabled OPTION value in your SELECT’s drop-down.
Can you explain why that is there? I mean, it should not really be there as it can never
be used as it is disabled. I do not understand that line.
Now, you echo a variable named “$TODAY”… BUT, I do not see in your code where you create that
variable or where you set the value of it. Or, did you just not show that code?
Also, usually there is a “DEFAULT” value that you use inside of a SELECT clause. This is the value that
you want the user to be stuck with if they do not adjust the drop-down setting. If you use that instead
of the odd line you have, then you do not need to check to see if the SELECT ISSET(). You just use the
value inside. Also, you should never create a drop-down with just one option. It does not make sense
to do that. If the results is always the same, just leave the drop-down out completely.
Lastly, your pull the value of the “menu” field from your form, but, there is no “menu” field on the page.
Very confused on your code and what you are trying to do here… Please explain what you want this
to do and we can help you put it in place…