$result = mysql_query("SELECT titel, COUNT(titel) AS numbers FROM users WHERE accid = '$showid'") or die (mysql_error()); $row = mysql_fetch_array($result); echo $row ['numbers'];
select count(*) from table
select field, count(*) from table group by field
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)