Ver original$bus=myql_query("SELECT *FROM tabla WHERE categoria=1");$total=mysql_num_rows($bus); echo $total;