I have solved this in the past by replacing the carriage-returns with <br>
tags...
do a s/\015?\012/<br>/g; on each line BEFORE you write it to the
flat-file....
hth,
brent
"Fred Sahakian"
<[EMAIL PROTECTED] To: <
ate.ny.us> cc:
Subject: Form to Flatfile
12/19/01 11:03 AM
Hi Folks,
Here's my dilema. Im trying to send data to a flatfile through a form.
When the form passes carriage returns to the flat file I get data that
looks like this:
2|12/19/01-09:57|dfddfadfafd|[EMAIL PROTECTED]|tes|start my
sentence
1|02/20/01-23:01|Ken|[EMAIL PROTECTED]|Miami|FL||This is a test question and
the next question is here also
As you can see the second line (word "sentence") is where the second line
of record two starts. When I try to open it up in a Perl database program,
the program goes nuts thinking that is an independent record.
How can I turn off that wrap?
thanks a bunch!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]