mirror of
https://github.com/vrana/adminer.git
synced 2026-03-05 20:11:40 +01:00
Use radio in export
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1160 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -5,7 +5,7 @@ function dump_table($table) {
|
||||
|
||||
function dump_data($table, $style, $select = "") {
|
||||
global $connection;
|
||||
$result = $connection->query(($select ? $select : "SELECT * FROM " . idf_escape($table)));
|
||||
$result = $connection->query(($select ? $select : "SELECT * FROM " . idf_escape($table)), 1); // 1 - MYSQLI_USE_RESULT
|
||||
if ($result) {
|
||||
while ($row = $result->fetch_assoc()) {
|
||||
dump_csv($row);
|
||||
@@ -21,7 +21,3 @@ function dump_headers($identifier) {
|
||||
session_write_close();
|
||||
return $ext;
|
||||
}
|
||||
|
||||
$dump_output = "";
|
||||
$dump_format = "CSV";
|
||||
$dump_compress = "";
|
||||
|
||||
Reference in New Issue
Block a user