$sonuc = mysql_query("select count(*) from genel_uye_tablo "); $toplam = mysql_fetch_array($sorgu); echo $toplam[0];