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 for
: 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
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
3 matches
Mail list logo