<? $sql = mysql_query("SELECT COUNT(*) AS amount FROM tabel"); list($antal) = mysql_fetch_array($sql); echo $antal; ?>