Re: [PHP-DB] Storing character returns

2001-03-12 Thread CC Zona

In article <98jdeu$46r$[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] ("Dan Eskildsen") wrote:

> I store newspaper articles into a MySQL database.  The text that I insert
> (via phpwizard.net) contains a little formatting: line returns to separate
> paragraph, but when I suck the data out again  to display it all the
> character returns vanish.
> 
> Any ideas?

nl2br()

-- 
CC

-- 
PHP Database 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]




[PHP-DB] Storing character returns

2001-03-12 Thread Dan Eskildsen

I store newspaper articles into a MySQL database.  The text that I insert
(via phpwizard.net) contains a little formatting: line returns to separate
paragraph, but when I suck the data out again  to display it all the
character returns vanish.

Any ideas?

Please cc comments to [EMAIL PROTECTED]

Thanks.  Regards from Denmark!



-- 
PHP Database 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]