diff --git a/pdf_schema.php3 b/pdf_schema.php3 index 1113b720f..a4931db86 100644 --- a/pdf_schema.php3 +++ b/pdf_schema.php3 @@ -860,7 +860,7 @@ $show_grid = (isset($show_grid) && $show_grid == 'on') ? 1 : 0; $show_color = (isset($show_color) && $show_color == 'on') ? 1 : 0; $show_table_dimension = (isset($show_table_dimension) && $show_table_dimension == 'on') ? 1 : 0; -mysql_select_db($db); +PMA_mysql_select_db($db); $rt = new PMA_RT('auto', $pdf_page_number, $show_table_dimension, $show_color, $show_grid); ?> diff --git a/tbl_change.php3 b/tbl_change.php3 index 1ece0af35..8dcd8ddd7 100755 --- a/tbl_change.php3 +++ b/tbl_change.php3 @@ -70,7 +70,7 @@ if ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3') { /** * Get the list of the fields of the current table */ -mysql_select_db($db); +PMA_mysql_select_db($db); $table_def = PMA_mysql_query('SHOW FIELDS FROM ' . PMA_backquote($table)); if (isset($primary_key)) { $local_query = 'SELECT * FROM ' . PMA_backquote($table) . ' WHERE ' . $primary_key; diff --git a/tbl_create.php3 b/tbl_create.php3 index 1af9e9abe..c64f98568 100755 --- a/tbl_create.php3 +++ b/tbl_create.php3 @@ -26,7 +26,7 @@ $err_url = 'tbl_properties.php3' /** * Selects the database to work with */ -mysql_select_db($db); +PMA_mysql_select_db($db); /** diff --git a/tbl_move_copy.php3 b/tbl_move_copy.php3 index 3cb8e410b..4bced9808 100644 --- a/tbl_move_copy.php3 +++ b/tbl_move_copy.php3 @@ -45,7 +45,7 @@ $err_url = 'tbl_properties.php3' /** * Selects the database to work with */ -mysql_select_db($db); +PMA_mysql_select_db($db); /** diff --git a/tbl_printview.php3 b/tbl_printview.php3 index d76571d1a..500045961 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -33,7 +33,7 @@ if (isset($table)) { /** * Selects the database */ -mysql_select_db($db); +PMA_mysql_select_db($db); /** diff --git a/tbl_replace.php3 b/tbl_replace.php3 index cb1435e5d..3af4fdb99 100755 --- a/tbl_replace.php3 +++ b/tbl_replace.php3 @@ -242,7 +242,7 @@ else { * Executes the sql query and get the result, then move back to the calling * page */ -mysql_select_db($db); +PMA_mysql_select_db($db); $sql_query = $query . ';'; $result = PMA_mysql_query($query);