From 9c583910c49f37477b3d546808ceab5a05816f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Fri, 29 Mar 2002 10:18:07 +0000 Subject: [PATCH] fixed bad dislays with Opera --- tbl_properties.php3 | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/tbl_properties.php3 b/tbl_properties.php3 index 070801096..4249856b5 100755 --- a/tbl_properties.php3 +++ b/tbl_properties.php3 @@ -1213,33 +1213,42 @@ else if (PMA_MYSQL_INT_VERSION >= 32306 if (!empty($cfgServer['relation'])) { $local_query = 'SELECT src_column, dest_table, dest_column' - . ' FROM ' . $cfgServer['relation'] - . ' WHERE src_table =\'' . $table . '\';'; - mysql_select_db($db); + . ' FROM ' . $cfgServer['relation'] + . ' WHERE src_table =\'' . $table . '\';'; +// mysql_select_db($db); $result = @mysql_query($local_query); if ($result != FALSE && mysql_num_rows($result) > 0) { - echo " \n"; - echo "
  • " . $strReferentialIntegrity . "
    \n"; + ?> + +
  • +
    +
    + ' . $rel[0] . '-> ' . $rel[1] . '.' - . $rel[2] . '
    ' . "\n"; + . urlencode('SELECT ' . PMA_backquote($table) . '.* FROM ' + . PMA_backquote($table) . ' LEFT JOIN ' + . PMA_backquote($rel[1]) . ' ON ' + . PMA_backquote($table) . '.' . PMA_backquote($rel[0]) + . ' = ' . PMA_backquote($rel[1]) . '.' . PMA_backquote($rel[2]) + . ' WHERE ' + . PMA_backquote($rel[1]) . '.' . PMA_backquote($rel[2]) + . ' IS NULL') + . '">' . $rel[0] . ' -> ' . $rel[1] . '.' . $rel[2] + . '
    ' . "\n"; } // end while - echo "

  • \n"; + ?> + +
    + -