Hello All,
I am wondering how to get the count() statement to show the number of records in the table, I don't want to know how many ... but just need to know the number of records, below is the code I am using so far:
<?php
ini_set('display_errors', 'ON');
ini_set('error_reporting', E_ALL | E_STRICT );
include '/home/dev/www/includes/db_config_cr-dev.php';
include '/home/dev/www/includes/db_conn-select.php';
$query_s = "SELECT COUNT(EIN) FROM irs_rawdata";
$result_s = mysql_query($query_s) OR die("Sorry, unable to count the records in the table!");
echo " There are ".$result_s['EIN']." in the table!"
?>
the code above appears to work but does not show the results.
So what am I doing wrong?
Sincerely,
Christopher
PS: I am still looking on the net for the answer while I wait for someone to respone :-)