Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Overview of this book

Table of Contents (25 chapters)
Mastering phpMyAdmin 2.11 for Effective MySQL Management
Credits
About the Author
About the Reviewers
Preface

Query Window


It is often convenient to have a distinct window in which we can type and refine queries and which is synchronized with the right panel. This window is called the Query window. We can open this window by using the small SQL icon or the Query window link from the left panel's icons or links zone.

This link or icon is displayed if $cfg['QueryFrame'] is set to TRUE. The TRUE for $cfg['QueryFrameJS'] tells phpMyAdmin to open a distinct window and update it using JavaScript commands; of course, this only works for a JavaScript-enabled browser. If this is set to FALSE, clicking on Query window will only open the right panel and will display the normal SQL sub-page.

Note

The full usability of the Query window is only achieved with the distinct window mode.

The Query window itself has sub-pages, and it appears here over the right panel:

We can choose the dimensions (in pixels) of this window with $cfg['QueryWindowWidth'] and $cfg['QueryWindowHeight']. Chapter 12 explains the Query...