I was wondering if it would be possible to execute a specific sql query via a URL, which will send to query to adminer and then display the results (via the usual adminer UI). I know I can do this via the adminer editor's sql command form, but I would like to have a web page with pre-defined SQL queries which the user can run simply by clicking on the URLs.
Any information about this or ideas on how I can implement this would be greatly appreciated.
Executing unrestricted SQL command through GET request is dangerous. I would recommend creating views and linking to them.