That is because $count IS the Resultset known as Resource#4
You need to address the Contents of $count
connect();
$count = mysql_query("SELECT COUNT(*) FROM ".cTABLE);
if (mysql_num_rows($count) != 0)
{
echo '<p>'. mysql_result($count, 0) .' Links Shrunk So Far...</p>';
}
else
{
echo 'No links have been shrunk yet';
}
Lots of other ways of addressing the results.