<?php $p=mysql_query("SELECT COUNT(*) FROM `action`;"); $k=mysql_result($p, 0); print "".$k." штук"; ?>