Quantcast
Channel: Change line feed of csv file to the same one - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by mlewis54 for Change line feed of csv file to the same one

You have a number of options right in php. For example: $f=file_get_contents("files/uploads/$fileName"); $f=str_replace("\r","",$f); file_put_contents("files/uploads/$filename",$f); This will strip all...

View Article


Change line feed of csv file to the same one

I need to work with csv files. I want to write an web app which is working with csv files and is written in php. Problem is all the csv files have diffrent line feeds /r, /n,/r/n/. I need to have the...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>