On 08-May-01 Romulo Roberto Pereira wrote:
> Hello!
>
> If a user drop a text like this in a textarea:
>
> ---
>
> As you can see the text is simple and there are not any html tags. How do I
> do to add this elements so the text become something like this below, I mean
> how to wrap it up i
check http://www.php.net/manual/en/function.nl2br.php
you could also do a regex, searching for \n, and adding a to it...adding
the would make it a little more difficult...
-jack
-Original Message-
From: Romulo Roberto Pereira [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 1:09 P
2 matches
Mail list logo