From 9f96b54d0239f455d561ff179782078f1cd1b6ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Fri, 5 Jul 2002 10:27:02 +0000 Subject: [PATCH] coding standards and xhtml fixes --- ChangeLog | 3 + Documentation.html | 355 +++++++++++++++++++++++++-------------------- 2 files changed, 204 insertions(+), 154 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d1db7d86..f86a50b02 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-07-01 Loïc Chapeaux + * Documentation.html: coding standards and xhtml fixes. + 2002-07-01 Alexander M. Turek * libraries/common.lib.php3, libraries/config_import.lib.php3: Backwards compatibility for $cfg['PmaAbsoluteUri_DisableWarning']. diff --git a/Documentation.html b/Documentation.html index d697ab0be..27d2c62f8 100755 --- a/Documentation.html +++ b/Documentation.html @@ -163,7 +163,7 @@
  • export (*) and import data to CSV values
  • administer multiple servers and single databases
  • check referential integrity
  • -
  • create complex Queries automatically connecting required tables
  • +
  • create complex queries automatically connecting required tables
  • create PDF graphics of your Database layout
  • communicate in more than @@ -305,8 +305,8 @@     GRANT SELECT, INSERT, UPDATE, DELETE ON <pma_db> TO 'pma'@'localhost'; - (this of course requires you to have a special DB for phpMyAdmin, the contents - will be explained later) + (this of course requires you to have a special DB for + phpMyAdmin, the contents will be explained later) @@ -414,6 +414,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' Please note that the $_SERVER array doesn't exist in PHP < 4.1.0. Try to replace $_SERVER by $HTTP_SERVER_VARS or $GLOBALS in this case. +

    $cfg['Servers'] array
    @@ -555,33 +556,35 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
    $cfg['Servers'][$i]['pmadb'] string
    - Starting with Version 2.3.0 phpMyAdmin offers a lot of Features - to work with Master / Foreign - Tables. To use those as well as - the bookmark feature you will need to create a new db.
    - + Starting with version 2.3.0 phpMyAdmin offers a lot of features + to work with master / foreign - tables. To use those as well as + the bookmark feature you will need to create a new db. +

    + To use this functionality as superuser create a new database:
    • - create a new database for phpmyadmin: + create a new database for phpmyadmin:
      +   CREATE DATABASE phpmyadmin;
      + Note that "controluser" must have + SELECT, INSERT and DELETE privileges on the + bookmark table. Here is a query to set up those privileges + (using "pma" as the controluser):
      -   CREATE database phpmyadmin; - - Note that controluser must have SELECT, INSERT and DELETE - privileges on the bookmark table. Here is a query to set up - those privileges (using "pma" as the controluser): - -   GRANT SELECT,INSERT,DELETE ON to - 'pma'@localhost; - - do not give any other user rights on this db. +   GRANT SELECT,INSERT,DELETE ON <pmadb> to 'pma'@localhost; +
      + do not give any other user rights on this database.
    • - Enter the databasename in $cfg['Servers'][$i]['pmadb'] + enter the databasename in $cfg['Servers'][$i]['pmadb']
    • -
    +
    - -
    $cfg['Servers'][$i]['bookmarktable'] string
    + +
    + + $cfg['Servers'][$i]['bookmarktable'] string +
    Since release 2.2.0 phpMyAdmin allows to bookmark queries. This can be useful for queries you often run.

    @@ -591,7 +594,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
  • set up a PMA database as described above
  • within this database create a table following this scheme:
    -      CREATE TABLE bookmark (
    +      CREATE TABLE `PMA_bookmark` (
           id int(11) DEFAULT '0' NOT NULL auto_increment,
           dbase varchar(255) NOT NULL,
           user varchar(255) NOT NULL,
    @@ -601,19 +604,19 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'      ) TYPE=MyISAM COMMENT='Bookmarks';
  • -
  • Enter the tablename in $cfg['Servers'][$i]['bookmarktable']
  • +
  • enter the tablename in $cfg['Servers'][$i]['bookmarktable']

  • - Note that controluser must have SELECT, + Note that "controluser" must have SELECT, INSERT and DELETE privileges on the bookmark table. Here is a query to set up those privileges (using "pma" as - the controluser and phpmyadmin as databasename:
    - GRANT SELECT,INSERT,DELETE ON <phpmyadmin> to 'pma'@localhost; + the controluser and phpmyadmin as databasename):
    +   GRANT SELECT,INSERT,DELETE ON <phpmyadmin> to 'pma'@localhost;

    -
    + $cfg['Servers'][$i]['relation'] string
    @@ -651,17 +654,18 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' To allow the usage of this functionality the superuser has to:
    • set up a PMA database as described above
    • -
    • within this database create a table following this scheme:
      +
    • + within this database create a table following this scheme:
      -      CREATE TABLE `relation` (
      +      CREATE TABLE `PMA_relation` (
             `master_db` varchar(64) NOT NULL default '',
             `master_table` varchar(64) NOT NULL default '',
             `master_field` varchar(64) NOT NULL default '',
             `foreign_db` varchar(64) NOT NULL default '',
             `foreign_table` varchar(64) NOT NULL default '',
             `foreign_field` varchar(64) NOT NULL default '',
      -        PRIMARY KEY (`master_db`,`master_table`,`master_field`),
      -        KEY foreign_field (foreign_db,foreign_table)
      +        PRIMARY KEY (`master_db`, `master_table`, `master_field`),
      +        KEY foreign_field (foreign_db, foreign_table)
           ) TYPE=MyISAM COMMENT='Relation table';
    • @@ -670,17 +674,18 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' $cfg['Servers'][$i]['relation']
    • - now as normal user open phpMyAdmin and for each table where you want to use this feature, - click "Structure/Relation view/" and choose foreign fields. + now as normal user open phpMyAdmin and for each table where you + want to use this feature, click "Structure/Relation view/" + and choose foreign fields.

    - Please note that in the current (2.3.0) version, master_db must be - the same as foreign_db. Those fields have been put in place for a + Please note that in the current (2.3.0) version, master_db + must be the same as foreign_db. Those fields have been put in future development of the cross-db relations.

    -
    + $cfg['Servers'][$i]['table_info'] string
    @@ -699,7 +704,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'        `db_name` varchar(64) NOT NULL default '',
           `table_name` varchar(64) NOT NULL default '',
           `display_field` varchar(64) NOT NULL default '',
    -        PRIMARY KEY (`db_name`,`table_name`)
    +        PRIMARY KEY (`db_name`, `table_name`)
         ) TYPE=MyISAM COMMENT='Table information for phpMyAdmin';
  • @@ -717,48 +722,50 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'

    -
    + $cfg['Servers'][$i]['table_coords'] string
    $cfg['Servers'][$i]['pdf_pages'] string
    - Since release 2.3.0 you can have phpMyAdmin create PDF Pages showing the - relations between your tables. To do this it needs two tables 'pdf_pages' - (storing information about the available pdf Pages) - and 'table_coords' (storing coordinates where each table will be placed - on a PDF schema output). + Since release 2.3.0 you can have phpMyAdmin create PDF pages showing + the relations between your tables. To do this it needs two tables + "pdf_pages" (storing information about the available pdf + pages) and "table_coords" (storing coordinates where each + table will be placed on a PDF schema output).

    - PDF output is supported under PHP4, and you must be using also the - 'relation' feature and have a table of PDF Pages (see $cfg['Servers'][$i]['pdf_pages']). - Also, we used the fpdf library which currently - only supports iso-8859 (Latin1) character sets in PDF. + You must be using the "relation" feature and have a table of + PDF pages (see $cfg['Servers'][$i]['pdf_pages']) to create PDF + output.

    - To allow the usage of this functionality the superuser has to: + To allow the usage of this functionality the superuser has to:
    • set up a PMA database as described above
    • -
    • within this database create a table following this scheme:
      +
    • + within this database create a table following this scheme:
      -      CREATE TABLE `table_coords` (
      +      CREATE TABLE `PMA_table_coords` (
             `db_name` varchar(64) NOT NULL default '',
             `table_name` varchar(64) NOT NULL default '',
             `pdf_page_number` int NOT NULL default '0',
             `x` float unsigned NOT NULL default '0',
             `y` float unsigned NOT NULL default '0',
      -        PRIMARY KEY (`db_name`,`table_name`, `pdf_page_number`)
      +        PRIMARY KEY (`db_name`, `table_name`, `pdf_page_number`)
           ) TYPE=MyISAM COMMENT='Table coordinates for phpMyAdmin PDF output';
    • -
    • also within this database create:
    • +
    • + also within this database create:
      -      CREATE TABLE pdf_pages (
      +      CREATE TABLE `PMA_pdf_pages` (
             `db_name` varchar(64) NOT NULL default '',
      -        page_nr int(10) unsigned NOT NULL auto_increment,
      -        page_descr varchar(50) NOT NULL default '',
      -        PRIMARY KEY (page_nr),
      -        KEY (db_name)
      +        `page_nr` int(10) unsigned NOT NULL auto_increment,
      +        `page_descr` varchar(50) NOT NULL default '',
      +        PRIMARY KEY (page_nr),
      +        KEY (db_name)
           ) TYPE=MyISAM COMMENT='PDF Relationpages for PMA';
      +
    • put the first table name in $cfg['Servers'][$i]['table_coords'] @@ -769,23 +776,26 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' Usage tips: PDF output.

    +
    $cfg['Servers'][$i]['column_comments'] string
    Since release 2.3.0 you can store comments to describe each column - for each table. These will then be shown on the printview. + for each table. These will then be shown on the "printview". +
    To allow the usage of this functionality the superuser has to:
    • set up a PMA database as described above
    • -
    • within this database create a table following this scheme:
      +
    • + within this database create a table following this scheme:
      -      CREATE TABLE column_comments (
      +      CREATE TABLE `PMA_column_comments` (
             id int(5) unsigned NOT NULL auto_increment,
             db_name varchar(64) NOT NULL default '',
             table_name varchar(64) NOT NULL default '',
             column_name varchar(64) NOT NULL default '',
             comment varchar(255) NOT NULL default '',
      -        PRIMARY KEY (id),
      -        UNIQUE KEY db_name (db_name,table_name,column_name)
      +        PRIMARY KEY (id),
      +        UNIQUE KEY db_name (db_name, table_name, column_name)
           ) TYPE=MyISAM COMMENT='Comments for Columns';
    • @@ -793,7 +803,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' put the table name in $cfg['Servers'][$i]['column_comments'] -
    +
    @@ -966,8 +976,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
    $cfg['SuggestDBName'] boolean
    - Defines whether to suggest a database name on the "Create Database" - form or to keep the textfield empty. + Defines whether to suggest a database name on the + "Create Database" form or to keep the textfield empty.

    @@ -1060,17 +1070,18 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
    $cfg['DefaultTabDatabase'] string
    - Defines the Tab displayed by default on database view. Possible - values: 'db_details_structure.php3', 'db_details.php3', or - 'db_search.php3'. + Defines the tab displayed by default on database view. Possible + values: "db_details_structure.php3", + "db_details.php3" or "db_search.php3".

    $cfg['DefaultTabTable'] string
    - Defines the Tab displayed by default on table view. Possible - values: 'tbl_properties_structure.php3', 'tbl_properties.php3', - 'tbl_select.php3', 'tbl_change.php3'. + Defines the tab displayed by default on table view. Possible + values: "tbl_properties_structure.php3", + "tbl_properties.php3", "tbl_select.php3" or + "tbl_change.php3".

    @@ -1100,9 +1111,11 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
    $cfg['DefaultCharset'] string
    Default charset to use for recoding of MySQL queries. This must be - enabled and it's described by $cfg['AllowAnywhereRecoding'] option. - You can give here any charset which is in $cfg['AvailableCharsets'] - array and this is just default choice, user can select any of them. + enabled and it's described by $cfg['AllowAnywhereRecoding'] + option.
    + You can give here any charset which is in + $cfg['AvailableCharsets'] array and this is just default + choice, user can select any of them.

    @@ -1239,38 +1252,52 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
    $cfg['UseSyntaxColoring'] boolean
    - Introduced in 2.3.0 PhpMyAdmin is now able to show SQL in Syntaxcoloring. - To use this feature set this value to TRUE (the default). If not everything - you want is colored or to influence where a newline is inserted see the - Configurationarrays $cfg['keywords'] and $cfg['additional']. Note: - for version 2.3.0, syntax coloring is non functional. + Introduced in 2.3.0, phpMyAdmin is now able to show SQL in syntax + coloring.
    + To use this feature set this value to TRUE (the default). + If not everything you want is colored or to influence where a newline + is inserted see the configuration arrays $cfg['keywords'] and + $cfg['additional'].
    + Note: for version 2.3.0, syntax coloring is non functional. +

    +
    $cfg['colorFunctions'] string [HTML color]
    - If you use Syntaxcoloring then this defines the Color of - Functionnames. e.g. all that are found in $cfg['Functions']. + If you use syntax coloring then this defines the color of + function names. e.g. all that are found in $cfg['Functions']. +

    +
    $cfg['colorKeywords'] string [HTML color]
    - If you use Syntaxcoloring then this defines the Color of - Keywords. e.g. all that are found in $cfg['keywords']. + If you use syntax coloring then this defines the color of + keywords. e.g. all that are found in $cfg['keywords']. +

    +
    $cfg['colorStrings'] string [HTML color]
    - If you use Syntaxcoloring then this defines the Color of - Strings. e.g. all that are between ' or " + If you use syntax coloring then this defines the color of + strings. e.g. all that are between ' or " +

    +
    $cfg['colorColType'] string [HTML color]
    - If you use Syntaxcoloring then this defines the Color of - ColumnTypes. e.g. all that are found in $cfg['ColumnTypes']. + If you use syntax coloring then this defines the color of + column types. e.g. all that are found in $cfg['ColumnTypes']. +

    +
    $cfg['colorAdd'] string [HTML color]
    - If you use Syntaxcoloring then this defines the Color of - additional Keywords that do not get a newline. e.g. all that - are found in $cfg['additional']. + If you use syntax coloring then this defines the color of + additional keywords that do not get a newline. e.g. all that + are found in $cfg['additional']. +

    +
    $cfg['ColumnTypes'] array
    All possible types of a MySQL column. In most cases you don't need to @@ -1282,25 +1309,30 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
    Possible attributes for fields. In most cases you don't need to edit this. +

    $cfg['Functions'] array
    A list of functions MySQL supports. In most cases you don't need to edit this. +

    $cfg['keywords'] array
    - A list of Keywords that is used for Syntaxcoloring. All Keywords that - are in this list will also get a new line before them. Usually you won't need - to change those. + A list of keywords that is used for syntax coloring. All keywords that + are in this list will also get a new line before them.
    + Usually you won't need to change those. +

    +
    $cfg['additional'] array
    - A list of additional Keywords that is used for Syntaxcoloring. All Keywords that - are in this list will not get a new line before them. Usually you won't need - to change those. + A list of additional keywords that is used for syntax coloring. All + keywords that are in this list will not get a new line before + them.
    + Usually you won't need to change those.

    @@ -1329,7 +1361,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' Browsers  -  Usage tips  -  Project  -  -Syntax Coloring +Syntax coloring @@ -1879,8 +1911,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' CSV exported file.
    This is a known Netscape 4.75 bug: it adds some line feeds when exporting - data in octet-stream mode. Since we can't detect the specific Netscape - version, we cannot workaround this bug. + data in octet-stream mode. Since we can't detect the specific Netscape + version, we cannot workaround this bug.

    @@ -1949,10 +1981,10 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'

    How can I use the relation table in Query-by-example?
    - Here is an example with the tables persons, towns and countries, all - located in the database mydb. If you - don't have a PMA_relation table, create it as explained in the - configuration section. Then create the example tables: + Here is an example with the tables persons, towns and countries, all + located in the database mydb. If you don't have a PMA_relation + table, create it as explained in the configuration section. Then create the + example tables:

         CREATE TABLE countries (
    @@ -1983,7 +2015,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'      INSERT INTO towns VALUES ('S', 'Sherbrooke');
         INSERT INTO towns VALUES ('M', 'Montréal');

    -      INSERT INTO `PMA_relation` VALUES ('mydb','persons', 'town_code', 'mydb', 'towns', 'town_code');
    +      INSERT INTO `PMA_relation` VALUES ('mydb', 'persons', 'town_code', 'mydb', 'towns', 'town_code');
         INSERT INTO `PMA_relation` VALUES ('mydb', 'persons', 'country_code', 'mydb', 'countries', 'country_code');

    @@ -2017,60 +2049,75 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'

    How can I produce a PDF schema of my database?
    - First you have to fill the 'relation', 'table_coords' and 'pdf_pages' - configuration variables. + First you have to fill the "relation", "table_coords" + and "pdf_pages" configuration variables.

    Then, think about your schema layout: which tables will go on which pages. -

      -
    • Click on your db name in the left frame
    • -
    • Choose "Structure" in the navigation on top
    • -
    • Choose "Edit PDF Pages" which should be somewhere at the bottom of the page
    • -
    • Enter the name for a first pdf page and submit
    • -
    • Choose this page to edit
    • -
    • Now add a table you want to show on this page and it's coordinates and submit
      - First you will have to guess this coordinates of course, so just - expect to have an area of about 297 * 210 and put the tables coordinates somewhere - in there, you will be able to have a look at what happened and change them later.
      - For example, x=100 and y=200 means that the table will be at 200 mm down - and 100 mm right from the upper left corner.
      - Actually if you have a width of more than 300 or a height of more than 100 - than it will automatically be scaled but 300*100 is a good start to have - an idea of what coordinates to use.
    • -
    • After every table you submitted you will have the possibility to submit more tables
    • -
    • When you have entered enough tables Click on your db name in the left frame again
    • -
    • Now, again at the bottom of the page you should be able to choose "Display PDF schema"
      - For testing it might be useful to show the Grid as well, so you can see the coordinates used
      - maybe also choose Color and submit.
    • -
    • Save the file he will offer you to something like Schema.pdf (Internet Explorer has some Bug there - which might make it offer it without an extension. Under Windows it is important to have the Extension - .pdf, in under OS you should be fine just saving the file under the name it offers)
    • - - in the navigation on top -

    +
      +
    • Click on your db name in the left frame
    • +
    • Choose "Structure" in the navigation on top
    • +
    • Choose "Edit PDF Pages" which should be somewhere at the + bottom of the page
    • +
    • Enter the name for a first pdf page and submit
    • +
    • Choose this page to edit
    • +
    • Now add a table you want to show on this page and it's coordinates and + submit
      + First you will have to guess this coordinates of course, so just expect + to have an area of about 297 * 210 and put the tables coordinates + somewhere in there, you will be able to have a look at what happened + and change them later.
      + For example, x=100 and y=200 means that the table will be at 200 mm + down and 100 mm right from the upper left corner.
      + Actually if you have a width of more than 300 or a height of more than + 100 than it will automatically be scaled but 300*100 is a good start to + have an idea of what coordinates to use.
    • +
    • After every table you submitted you will have the possibility to submit + more tables
    • +
    • When you have entered enough tables Click on your db name in the left + frame again
    • +
    • Now, again at the bottom of the page you should be able to choose + "Display PDF schema"
      + For testing it might be useful to show the grid as well, so you can see + the coordinates used.
      + Maybe also choose color and submit.
    • +
    • Save the file he will offer you to something like Schema.pdf + (Internet Explorer has some bug there which might make it offer it + without an extension. Under Windows it is important to have the + extension ".pdf", under other OSes you should be fine just + saving the file under the name it offers).
    • +
    +

    - I don't like the way syntaxcoloring displays my query + I don't like the way syntax coloring displays my query!
    - There is two things about the way how the Syntaxcoloring works that + There is two things about the way how the syntax coloring works that you can easily change yourself: -

      -
    • number of newlines within your statement
      - All Words that are in $cfg['keywords'] will get a newline in front of them, - all words in $cfg['additional'] don't. So say you don't like to have - a newline in front of every WHERE, you need to remove it from the $cfg['keywords'] array - and enter it in the $cfg['additional'] array instead.
    • -
    • Colors
      - The colors are easily changed using the variables -
        -
      • $cfg['colorFunctions']
      • -
      • $cfg['colorKeywords']
      • -
      • $cfg['colorStrings']
      • -
      • $cfg['colorColType']
      • -
      • $cfg['colorAdd']
      • -
    • -

    +
      +
    • + number of newlines within your statement
      + All words that are in $cfg['keywords'] will get a newline in + front of them, all words in $cfg['additional'] won't. + So say you don't like to have a newline in front of every + WHERE, you need to remove it from the + $cfg['keywords'] array and enter it in the + $cfg['additional'] array instead. +
    • +
    • + colors
      + The colors are easily changed using the variables +
        +
      • $cfg['colorFunctions']
      • +
      • $cfg['colorKeywords']
      • +
      • $cfg['colorStrings']
      • +
      • $cfg['colorColType']
      • +
      • $cfg['colorAdd']
      • +
      +
    • +
    +

    phpMyAdmin is changing the type of one of my columns!
    @@ -2082,12 +2129,12 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' to a user for this database, a backslash is added before the underscore.
    This is normal and means that the grant is done only for this database. If - there was no backslash, this would be a wildcard grant, and the + there was no backslash, this would be a wildcard grant, and the underscore would mean "any character". So, if the database name is "john_db", the user would get rights to john1db, john2db... instead of just john_db.

    If you really want to grant using a wildcard, there is a dialog box " - Database (wildcards allowed)" for this. + Database (wildcards allowed)" for this.

    What is the curious symbol ø in the table statistics?
    @@ -2338,7 +2385,7 @@ Thanks to these guys who have sent us some major improvements to merge into the code since version 2.1.0: - Michal Cihar <nijel at users.sourceforge.net> who implemented the enhanced index creation/display feature, and the mecanism to display - a character set in MySQL different than the one in HTML. + a character set in MySQL different than the one in HTML. - Christophe Gesché from the "MySQL Form Generator for PHPMyAdmin" (http://sourceforge.net/projects/phpmysqlformgen/) who suggested the patch for multiple table printviews.