I am trying to get my counter to count only the records for a particular organization. Right now it is counting all records from the table.
Any suggestions would be gratefully appreciated>
$sql = "SELECT count(id) FROM $table_name";
$result = @($sql,$connection) or die("Couldn't execute query.");
$count = mysql_result($result,0,"count(id)");
This gives all 175 records that are in the table. However I had selected one organization from the table which only has 21 records and thats what I am trying to display.
Once again Thanks for any help.
:o) Ivan