I have a simple database to update that has <id><hometeam><hscore><ascore><awayteam><time><date>. I want to put the whole schedule on a page and then update the scores as they happen. There are 30 games in the schedule.
Should I make each game a row in a table and its own form to post from or is there an easy way to list all the games in the same form (assuming an array would be used here) and update the all of the scores at 1 time?
Things I am trying to learn:
- how to input the data into a form array
- how to post an array like that.
I am guessing some kind of if score is blank, dont post this row kind of thing but do not know how to code it all.