[Pugged] newlines in data

Lathrop Preston ciapug@ciapug.org
Tue, 17 Sep 2002 09:52:53 -0500


Hey all.

I am having a small problem with an output file that is going to a vendor. 
It is generated by PHP from an ORACLE db.

the output file should be a tab separated file one record per line.

however some of the fields are getting new lines from the users entering 
the data

does anyone know a good way to convert the newlines to something harmless?

Thanks
Laith