$strSQL = "SELECT COUNT(kolon_adi) FROM tablo_adi";
$result = @mysql_query($strSQL) or die("Hatali sorgu");