$sql = "select cus_id, count(*) from tbl_problem2 group by cus_id having cus_id <> 'yek'";
$dbquery= mysql_db_query($dbname,$sql);
$num_rows = mysql_num_rows($dbquery);
echo "$num_rows";
for ($i=1;$i<=$num_rows;$i++){
$result= mysql_fetch_array($dbquery);