Well, to start, I'm pretty sure there is no mysql_pconnect() function. Try mysql_connect().
Also, I'm not sure what that @ symbol is doing in there...my experience of PHP is limited, but I've never had to use it.
Next, your query syntax is wrong.
mysql_query("SELECT * FROM 'battle_chat');
You're missing the double-quote to designate the end of the query. mysql_query("SELECT * FROM 'battle_chat'");
The next line in error that I see is:
$row = mysql_fetch_object($result);; one too many semicolons.
Also, I dunno if it would cause an error or not, but you should probably consider putting spaces in between your print statements and the double-quotes. If not for the sake of error-prevention, this should be done in the interests of making your code easy to read.
print "$row->id";
or consider simply using echo to print out your variables...
echo $row->id;