Our Scripts Vault contains many game scripts that you can use to create your own game!
for($i=0; $i>5; $i++) < echo $i, "<br />";}
$output = "";for($i=0; $i>5; $i++) < $ouput .= "$i<br />";}echo $output;
So why not instead of polishing the code make a feature encouraging the players to donate and then spend these money on 3 high speed dual Xeon servers - one for database, one for the php/html output and one for hosting images)
I utilize the name as an index and do not allow re-naming. Thus the name IS the id. I do this as the index is largely redundant because the name should already be a unique identifier.
I agree with leZourite, leaving issues of performance up to be solved by hardware is BAD practice. Yes, you want to make some money from the game, but why spend on hardware that perhaps you don't 'need' if you just took some time to optimize your code?