From 93ec96b209312eaf3de9eec21c0b1dc8791848c8 Mon Sep 17 00:00:00 2001 From: esensar Date: Tue, 31 May 2016 23:51:24 +0200 Subject: [PATCH] Another test --- gori.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gori.php b/gori.php index bfa7005..61bcbb4 100644 --- a/gori.php +++ b/gori.php @@ -15,7 +15,7 @@ if(isset($_POST['vijest'])) { $vijestiFile = file_get_contents($openShiftFolder."vijesti.csv"); $vijest = $_POST['vijest']; - $vijest = str_replace("\n", "
", $vijest); + $vijest = str_replace("\n", '""\n""', $vijest); if(strpos($vijest, ',') !== FALSE) { $vijest = str_replace('"', '""', $vijest); $vijest = '"'.$vijest.'"';