I need the attached script fixed.
It should do the following:
When I call the file [url removed, login to view] it should check if in the table ws_score_history the current "spieltag" is included. The current "spieltag" is in ws_spiel with the dates. So the most recent PAST day needs to be checked. If it is in the table, nothing needs to be done. If not, it needs to enter the new "platz" from ws_verein and enter it with the new "spieltag" into ws_score_history.
I also want the seasons shown in a drop down menue. They are not at the moment.
I also want to know why the file [url removed, login to view] has this line in there: $date = '21-06-2009';
Please ask questions if my requirements are not clear.
This should be a quick fix for someone with the knowledge as the program works fine if there is no entry in ws_score_history.
Please do NOT send any references unless I ask for them!