To help them with this regard, phpMyAdmin introduces a nested-levels
feature, based on the table naming.
Chapter 3
[ 55 ]
Let's say we have access to the db1 database and we want to represent two projects,
marketing and payroll. Using a special separator (by default a double underscore)
between the project name and the table name, we create the payroll__employees and
payroll__jobs tables achieving a visually interesting effect:
This feature is parameterized with $cfg['LeftFrameTableSeparator'] (set here to
'__') to choose the characters that will mark each level change, and $cfg['LeftFra
meTableLevel'] (set here to '1') for the number of sub-levels.
The nested-level feature is only intended for improving the left panel
look. The proper way to reference the tables in MySQL statements stays
the same: for example, db1.payroll__jobs.
Beginning with phpMyAdmin 2.6.0, a click in the left panel on the project name (here
payroll) opens this project in the right panel, showing only those project's tables.
Interface Overview
[ 56 ]
Server-List Choice
If we have to manage multiple servers from the same phpMyAdmin window and
often need to switch between servers, it might prove useful to always have the list of
servers in the left frame:
For this, the $cfg['LeftDisplayServers'] parameter must be set to TRUE. The
list of servers can have two forms: a drop-down list or links.
Pages:
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80