I know theres a way to take the . out of the .txt file using Fwrite but have no clue how lol. Im still getting same error.
INSERT INTO result SET game_id=9, team1=1, Points'38', Bench Scoring'9', Field Goals'18/47', Field Goal %'.383', 3 Point FG'2/13', 3 Point %'.154', Free Throws'0/8', Free Throw %'.000', Rebounds'24', Off. Rebounds'1', Def. Rebounds'23', Blocks'7', Steals'7', Assists'11', Turnovers'17', Fouls'6'
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''38', Bench Scoring'9', Field Goals'18/47', Field Goal %'.383',
Also for some reason under Table game its using the same id for team1 and team 2