Thanks man. Are updates reflected immediately or only after refresh of the layout? A friend of mine beat his high score and updated it, but it did not show immediately he said.
I am waiting for your facebook share tutorial to finish my game
Thanks again for sharing.
You post your name and score with AJAX like savescores.php?name=stctr&score=6000, savescores.php saves it into your Mysql database. When you post savescores.php?name=stctr&score=6000 again it ignores the command, when it's higher then 6000 it updates your Mysql database immediately. But you have to refresh your table with getscores.php after every command. Or else it will not show up.