I have the following query:
SHOW TABLES LIKE '$prefix%'
It works exactly the way I want, although I need pagination of the results. I tried:
SHOW TABLES LIKE '$prefix%' ORDER BY Comment ASC LIMIT 0, 6
I need him to return all tables with a specific prefix and order them according to their comment. I want to paginate using LIMIT with 6 results per page.
I'm obviously doing something very bad. How can I do that?
EDIT: I looked over this one . This did not work for me.
Jaxkr source share