From: Nicolas Boisselier Date: Mon, 21 Mar 2016 20:12:15 +0000 (+0000) Subject: multi tables X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=20d9123413c262fd00d496a75755a029021a90c1;p=nb.git multi tables --- diff --git a/lib/php/db/table.php b/lib/php/db/table.php index 28e27744..bd275104 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -876,7 +876,7 @@ FROM pg_catalog.pg_attribute a WHERE a.attrelid = (SELECT c.oid FROM pg_catalog. public function rows_begin_csv($fields) { if ($this->p('header')==="0") return ''; - return join(TABLE_CSV_SEP,array_keys($fields))."\n"; + return "\r".join(TABLE_CSV_SEP,array_keys($fields))."\n"; } public function rows_rec_csv(&$row) {