RE: [PHP] Text and formating

2001-03-07 Thread Brian V Bonini
nl2br -- Inserts HTML line breaks before all newlines in a string http://php.net/manual/en/function.nl2br.php -Brian > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 12:09 PM > To: [EMAIL PROTECTED] > Subject:

RE: [PHP] Text and formating

2001-03-07 Thread Paulson, Joseph V. \"Jay\"
: RE: [PHP] Text and formating You need to do a str_replace() on any fields that need to have breaks in them. Try something like this: echo str_replace ("\n", "", $fieldvariable) Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to

RE: [PHP] Text and formating

2001-03-07 Thread Hoover, Josh
You need to do a str_replace() on any fields that need to have breaks in them. Try something like this: echo str_replace ("\n", "", $fieldvariable) Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm a

[PHP] Text and formating

2001-03-07 Thread sono
I have news webpage of sorts that pulls entries out of a mysql database. There is a form to submit news and it is automatically added to the new page upon submition. What I am wandering is when a individual submits news, the end result on my news page does not hold the same format it was put in