phpMyAdmin prevent popup window for query editing

Stop phpMyAdmin editing queries in a popup window
To prevent phpMyAdmin opening a popup window to edit queries after clicking the "Edit" link, you need to open up and edit the file. This is the root folder for phpMyAdmin. The current releases do not have one of these files by default and you would normally copy as and edit that. (You would have needed to create a file when you installed phpMyAdmin to get it to work anyway).

$cfg['EditInWindow'] = false;