On 08-May-01 Romulo Roberto Pereira wrote:
> Hello!
> 
> If a user drop a text like this in a textarea:
>

<snip>
 
> ---
> 
> 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 in html tags?
> 
<snip again>
 
> Ideas?

nl2br()

Regards,
-- 
Don Read                                       [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to