Don't trim resulting line (bug #782483).
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-08-12 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* libraries/export/csv.php3: Don't trim resulting line (bug #782483).
|
||||
|
||||
2003-08-11 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* libraries/export/csv.php3, libraries/export/latex.php3,
|
||||
libraries/export/xml.php3: Added some stripslashes to generate correct
|
||||
|
@@ -134,7 +134,6 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) {
|
||||
} // end if
|
||||
|
||||
// Format the data
|
||||
$i = 0;
|
||||
while ($row = PMA_mysql_fetch_row($result)) {
|
||||
$schema_insert = '';
|
||||
for ($j = 0; $j < $fields_cnt; $j++) {
|
||||
@@ -162,9 +161,7 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) {
|
||||
$schema_insert .= $separator;
|
||||
}
|
||||
} // end for
|
||||
$schema_insert =trim($schema_insert);
|
||||
if (!PMA_exportOutputHandler($schema_insert . $add_character)) return FALSE;
|
||||
$i++;
|
||||
} // end while
|
||||
mysql_free_result($result);
|
||||
|
||||
|
Reference in New Issue
Block a user