How can we find the number of rows in a table using MySQL? | PHP

Use this for mysql
SELECT COUNT(*) FROM table_name;