Code:
<?
$db=mysql_connect('host','db_user','db_pass');
mysql_select_db("database_name");
$query = "SELECT * FROM spider";
$results = mysql_query($query);
$num_results = mysql_num_rows($results);
?>
Searching <?echo $num_results?> web pages
I did find and old post with the same title but the code wouldn't work so I made this. I was not able to post to the old post , so here is a working version.