[FX.php List] Separating out paragraphs in text variable

Andy Gaunt andy at fmpug.com
Mon Dec 11 17:47:14 MST 2006


Bob,

Do you mean - 

echo nl2br($text);



Andy Gaunt
Office: 321.206.3658
Mobile: 407.810.4722
andy at fmpug.com
http://www.fmpug.com    

2006 FileMaker Excellence Award Winner
Recipient of FileMaker's 2005 "Mad Dog" Public Relations Award

For chapter locations, dates & times please visit the website at
http://www.fmpug.com If you can make it to a meeting, please RSVP at
http://www.fmpug.com/rsvp.php


-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Monday, December 11, 2006 7:46 PM
To: FX.php Discussion List
Subject: [FX.php List] Separating out paragraphs in text variable

I thought I'd already solved this, but apparently not...

I have a site where I can type an entry into a form, and then it's  
displayed on the site...

If I enter

Line 1

Line 2

Line 3

I get:

Line 1Line 2Line 3

Someone please refresh my memory: what's the command to take the  
variable (call it $text) and have it display properly?

Thanks,

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com

   CONTACT US VIA INSTANT MESSAGING:
      AIM or iChat: longterm1954
      Yahoo: longterm_solutions
      MSN: tech at longtermsolutions.com
      ICQ: 159333060


_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list