[ciapug] Formatting with line breaks...

Chris Hettinger ciapug@cialug.org
Fri, 12 Dec 2003 16:18:47 -0600


I am trying to insert into a db field a note entry which will contain =
the details of a web form, but I have to build that long note entry =
first, and do some light formatting like line breaks...

        $note =3D "Generate from Web Form Submission \r\n"
              . "testing note formatting. \r\n";

How ever this isn't working as I would have suspected. For testing it as =
I build it I am just echoing it out to the browser with <?=3D $note; ?> =
... It displays but is not including the line breaks.

-Chris Hettinger, Web Specialist
-IFMC/ENCOMPASS
-www.encompas.com
-(515) 279-8730



CONFIDENTIALITY NOTICE:  This communication, including any attachment, =
may contain confidential information and is intended only for the =
individual or entity to whom it is addressed.  Any review, =
dissemination, or copying of this communication by anyone other than the =
intended recipient is strictly prohibited.  If you are not the intended =
recipient, please contact the sender by reply email, delete and destroy =
all copies of the original message.'