I need a php script which gets data from a mysql database and
writes the data to an html table.
The database contains the following fields:
game_id, date, time, location, sport, division, h_team, a_team, h_score, a_score
I need help with the output of HTML table, all set with getting data in MYSQL.
The table needs to print the following fields:
date, time, h_team, a_team, location
I want to be able to change the code of the date variable so it can print the number of days to display.
I need another table which prints fields:
date, h_team, h_score, a_team, a_score
I want the same funtionality of the first table allowing the table to print
1 day, or 20 days, etc.....
This should be fairly simple for someone who has MYSQL experience.
1) Complete working example with excellent comments in php code.