Possible Duplicate:
Why does this return Resource id #2?
I want to echo mysql_query("SELECT SUM(onlineplayers) FROM servers") but when I place echo in front, it says Resource Id #2 and when I add or die(mysql_error()); at the end, it just outputs 1.