Could anyone tell me how I would find out how many records are in my table using this code:
PHP Code:
<?php
  $query 
"SELECT COUNT(*) FROM table";
  
$numrows mysql_query($query) or die("Select Failed!");
  
$numrow mysql_fetch_array($numrows);
  echo 
$numrow;
?>
All it gives is "Array" as the output.

Thank for any help