The user enters his query. Phpmyadmin returns the result. So you can store this query (not the result) in a special table to use
it
again.
I hope it's clear ? :)
A demo, a demo, we want a demo, *please* ! (yes, I read the forum :) (or apply the patch to the phpmyadmin-devel tree :)
A demo :) http://www.globalis-hosting.com/~armel/phpmyadmin/
login : test pass : test
You can see 2 tables : dmoz and testbookmark.
If you select dmoz, you can see the standard textarea with "Run SQL query/queries on database dmoz". And...a news pulldown menu with "or Bookmarked SQL-query:". In this menu, you can select a previous bookmarked query...and execute it after a click on "Go" button.
If you want to enter a new query in the textarea "Run SQL query/queries on database dmoz", you can too !
A the bottom of the result you can see the standard "Insert new row". And..."or Bookmark this SQL-query". Click on the second link to bookmark this query :)
It's simple :)
Armel.