Hey again. This seems really simple, but I am not getting the integer value I want. Instead, I get "ressource id #12" if I echo $count[0], and just "object" if I echo $countdata[0]. Why wont it work!?
$count[0] = mysql_query("SELECT COUNT(*) FROM realname");
$countdata[0] = mysql_fetch_object($count[0]);
echo $countdata[0];
(p.s. just to clear things up: I want an integer value which is the total number of rows in the table)