Working excellently in my forums, except for one thing: people whose usernames have an apostrophe in their names seem to be causing some database errors...
For example, if I had a user named "Thor's Hammer", I will get the following errors:
---------------------------------
Invalid SQL: INSERT INTO arcade (game,date,time,userid,username,score)
VALUES ('pacman','2002-11-10','20:10:28','14','Thor's Hammer','5040')
mysql error: You have an error in your SQL syntax near 's Hammer','5040')' at line 2
mysql error number: 1064
---------------------------------
and
---------------------------------
Invalid SQL: SELECT max(score) as maxscore FROM arcade WHERE game='breakout' AND username='Thor's Hammer'
mysql error: You have an error in your SQL syntax near 's Hammer'' at line 1
mysql error number: 1064
---------------------------------
Just a heads up

Excellent hack...