hello..see this:
$query="SELECT count(*) as c FROM stats WHERE BirthCountry = country";
//Perform the SQL query against the database
$result=mysql_query($query);
$row=mysql_fetch_array($result);
echo $row['c'];
i don't know the query for counting no.of clients...but the above is the correct syntax...if this is not correct,post your table structure..
thank you.
Reputation Points: 137
Solved Threads: 162
Posting Virtuoso
Offline 1,641 posts
since Jul 2008