Use <pre> </pre> around the text. If you look at the html source, I think you will find that the text is, in fact, formatted. Also, you could write a regular expression to replace a line break with a <br>.
On Sun, 4 Aug 2002, eric wrote: > Date: Sun, 4 Aug 2002 18:56:26 +0200 > From: eric <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: Frau <[EMAIL PROTECTED]> > Subject: Text formating in Perl > > Greetings! > > I have the same problem Blue Presley did only I'm using Perl. > > Using a textarea field with -wrap=>"virtual" I input > > Twas brillig, and the slithy toves > Did gyre and gimbol in the wabe. > All mimsy were the borogroves, > And the mome raths outgrabe.... > > and it shows up this way when I look at the table with mycc > > However when I try to print it out after SELECT .... > > print p("$ref->[5]"); > > it prints all as one line. > > How do I maintain text format extraction in Perl 5.6.1? I can't seem to find > the answer in either of the two books on Perl and MySQL. > > Thanks! > Eric > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail ><[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php