Hello Hawk,

Monday, July 8, 2002, 3:28:02 PM, you wrote:

H> Lets say I have a guestbook, and I want the text the visitors write in it be
H> saved in a database(mysql) and when retrieved, if should have the same
H> textformating, I guess this is a really basic thing, but I don't know what
H> to look for :)
H> I've caught \n and ereg*, but I'm not sure that's the thing, help bitte .)

nl2br($string);

-- 
Greetings,
 Nookie                          mailto:[EMAIL PROTECTED]
 http://www.shakira-online.net
 http://www.xtina.pl
 http://www.jessica.prv.pl



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to