RE: [PHP] Text File Formating.

2002-04-29 Thread Cal Evans
the manual is your friend. http://www.php.net/manual/en/function.nl2br.php * * Cal Evans * Journeyman Programmer * Techno-Mage * http://www.calevans.com * -Original Message- From: Randum Ian [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:20 AM To: PHP Subject: [PHP] Text

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", "BR", $fieldvariable) Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit

RE: [PHP] Text and formating

2001-03-07 Thread Paulson, Joseph V. \Jay\
or you could just call the nl2br() function to do the same thing... Jay Paulson Developer, Web Technologies Viatel, Inc. -Original Message- From: Hoover, Josh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 11:22 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [PHP

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: [PHP] Text and