some small fixes concerning the XML feature

This commit is contained in:
Alexander M. Turek
2002-04-28 18:10:09 +00:00
parent c1bfb57960
commit d0040a347f
2 changed files with 6 additions and 5 deletions

View File

@@ -300,11 +300,12 @@ else {
$tmp_select = implode($table_select, '|');
$tmp_select = '|' . $tmp_select . '|';
}
$i = 0;
while ($i < $num_tables) {
if (!isset($single)) {
$table = mysql_tablename($tables, $i);
}
if (isset($tmp_select) && strpos($tmp_select, ' |' . $table . '|')) {
if (isset($tmp_select) && strpos($tmp_select, ' |' . $table . '|')>=0) {
$dump_buffer .= PMA_getTableXML($db, $table, $crlf, $err_url) . $crlf;
}
$i++;