Yes I know that inline and block was in css, and i thought that it describes the situation quite well:D
I must doing something wrong. When i put your code in event sheet everything is good, but no results in game, hiscores still displays in one line and not in a block. This spritefont is a plugin i have found in this forum. It's a sprite, so i think i can't append text to it :(
Anyway here are my screenshots, I hope they are allowed here.
First is this Spritefont object events(they are not mine, they were in example of usage)
second are the request to php
and the third is your Ajax condition, on my events:
I checked the post.php file, and it has this "\n" at the end