List:MySQL and Perl« Previous MessageNext Message »
From:Douglas S. Davis Date:August 26 2004 6:43pm
Subject:Help with Line Breaks from webform
View as plain text  
Hi,

I have a web app that users use to submit information about the courses
they're teaching.  They can either enter text into the textarea fields
manually, or by copying and pasting from another source (usually a Microsoft
Word document).  When they submit the form, a Perl program inserts the data
into a MySQL table.  But when I later issue a select command and get the
data out of the MySQL table to display on a webpage, the line breaks are
gone.  What do I need to do so that the data remains formatted the way it is
when it's entered into the webform?  




                                  Douglas           


--------------------------------------
Douglas S. Davis
Programmer/Analyst
Haverford College
Department of Administrative Computing
370 Lancaster Ave.
Haverford, PA 19041
610-896-4206
dsdavis@stripped
http://www.haverford.edu 


Thread
Help with Line Breaks from webformDouglas S. Davis26 Aug
  • Re: Help with Line Breaks from webformMayuran Yogarajah26 Aug
    • Re: Help with Line Breaks from webformMayuran Yogarajah26 Aug