1
0
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:
jakubvrana
2009-10-02 12:21:55 +00:00
parent a8859fab70
commit e40612a46f
19 changed files with 66 additions and 43 deletions

View File

@@ -406,6 +406,14 @@ ORDER BY ORDINAL_POSITION");
return $return;
}
function dumpOutput($select) {
return "";
}
function dumpFormat($select) {
return "CSV";
}
function navigation($missing) {
global $VERSION;
?>

View File

@@ -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 = "";