Hi!
Which is the 18th field - the season, because I count them 17 somehow?
And by saying it will update the table each time it's run you mean it will drop the old data and put the new one instead, meaning it will always have a single record for a particular player? Or it will add new record ventually accumulating history?
Also from what you wrote I understand that you want it collect stats of a particular season only on each run, so should this be something you set somewhere or pass to the script at run time maybe(I am assuming you'd be running this as a cron job)?
Regards,
Dobri