NYCPHP Meetup

NYPHP.org

[nycphp-talk] newline with "\n" question

Tom tom at supertom.com
Sun Jul 31 19:45:09 EDT 2005


Hi Leila,

I don't know if you can "set something up".

The options I can think of are:

* Run your text through the nl2br function.  Ex: nl2br("My Text with
newlines, etc.");
* Wrap your text in 'pre' tags 

Good Luck!

Tom

http://www.liphp.org


-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Leila Lappin
Sent: Sunday, July 31, 2005 7:19 PM
To: talk at lists.nyphp.org
Subject: [nycphp-talk] newline with "\n" question

Hi all,

Could someone please tell me what I need to setup in order for "\n" to
generate a newline?  Currently the only way I can get a newline is through
"<br/>".


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com _______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org





More information about the talk mailing list