[Pugged] newlines in data

Renegade Muskrat ciapug@ciapug.org
Wed, 30 Apr 2003 16:01:20 -0500


Would running the data through a call to "rtrim" work?

At 09:52 AM 9/17/2002 -0500, you wrote:
>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
>
>_______________________________________________
>Ciapug mailing list
>Ciapug@ciapug.org
>http://cialug.org/mailman/listinfo/ciapug
>
>
                                               -- Dan
  --------------------------------------------------------------------
            "I'm still sane on three planets and two moons."
  --------------------------------------------------------------------
      Daniel Ramaley                  3118 Cottage Grove Ave Apt 8
      dramaley at spatulacity dot cx        Des Moines, Iowa 50311
      http://www.spatulacity.cx/                    (515) 271-5233
  --------------------------------------------------------------------
       WARNING: REDISTRIBUTION OF THIS MESSAGE MAY BE IN
                VIOLATION OF APPLICABLE COPYRIGHT LAWS.
                THIS MESSAGE NOT GUARANTEED Y-TO-K COMPLIANT.