How can you get no of records from a table? | PHP

Select count(*) from tablename;