Actually, the TEXTAREA tag does capture the line breaks, they get stored in the mysql
table in a text type column. When I query the table and re-display the TEXTAREA, the
line breaks are preserved. I am using Perl CGI scripts with DBI, DBD-MySQL.
I defined the TEXTAREA (in perl):
$portdesc
Mike,
I'm assuming that you are trying to output this to a webpage.
I think your problem is that, HTML does not use line breaks in the
document. You can try this out by making a simple webpage like this:
A
B
C
D
When you view this in your internet browser, you will see
At 6:36 PM -0700 1/22/01, [EMAIL PROTECTED] wrote:
>When I submit a form and enter it into the database
>it does not recognize when the user presses enter.
>It keeps coming up as one long line, and for poetry,
>it doesn't look very pleasant.
This doesn't really have anything to do with MySQL. It