Yes there is however which Database are you using.
If its MySQL you can do something like this
$result = mysql_query($sqlQuery);
if (($num=mysql_num_rows($result)))
{
//$num is also defined there so we dont need to call the function again
echo "There are ".$num." rows";
}
else
{
echo "No Rows Returned";
}