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




)
Reply With Quote