I used a PHP code to show results of this query:
SELECT COUNT(*) FROM mytable
I want to get the number of rows in a specific table. This query works fine in phpMyAdmin, but it doesn't work when I place it in a template file.
I mean it doesn't return the number of rows.
Do you have any idea?