$text = ereg_replace("\r","",$text);
> // Handle paragraphs
> $text = ereg_replace("\n\n","",$text);
> // Handle line breaks
> $text = ereg_replace("\n","",$text);
>return $text;
>}
;,"",$text);
return $text;
}
Hope this helps,
Daniel Von Fange
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 8:37 PM
To: [EMAIL PROTECTED]
Subject: Form Submission
When I submit a form and enter it into the database
it does
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
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.
I would love if anyone could help me because it would
very much help me when creating future projects. I am
on