mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 03:24:01 +02: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:
@@ -406,6 +406,14 @@ ORDER BY ORDINAL_POSITION");
|
||||
return $return;
|
||||
}
|
||||
|
||||
function dumpOutput($select) {
|
||||
return "";
|
||||
}
|
||||
|
||||
function dumpFormat($select) {
|
||||
return "CSV";
|
||||
}
|
||||
|
||||
function navigation($missing) {
|
||||
global $VERSION;
|
||||
?>
|
||||
|
@@ -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