[ciapug] Formatting with line breaks...

Jerry Weida ciapug@cialug.org
Fri, 12 Dec 2003 16:32:15 -0600


Are you checking the source?  Text-style line breaks won't display in a 
browser, but they will show up in the source.

Chris Hettinger wrote:

>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 = "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 <?= $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.'
>
>_______________________________________________
>ciapug mailing list
>ciapug@cialug.org
>http://cialug.org/mailman/listinfo/ciapug
>  
>