Script Summary: Keep a history of queries executed in phpMyAdmin. Stored per database. Display the query history in a select list so a query can be reselected.
Copyright: James Nisbet
Made some serious improvements of Rafael's script (http://userscripts.org/scripts/show/45675), such as;
- easier deletion of previous SQL queries from the history list
- ability to set a total number of queries to save
- moves last query to the top of the list
- lots of other stuff