[FX.php List] Displaying text as entered in FileMaker field
Andy Gaunt
andy at fmpug.com
Sun Mar 19 13:32:30 MST 2006
Bob,
Try using str_replace to replace the line breaks with <br /> characters.
echo str_replace("\n","<br>",$variablename);
Andy Gaunt
T: 407.810.4722
andy at fmpug.com
http://www.fmpug.com
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: Sunday, March 19, 2006 3:26 PM
To: FX.php Discussion List
Subject: [FX.php List] Displaying text as entered in FileMaker field
I'm trying to display articles from a converted FM 6 file; I know
that I read an answer to this question before. Without diving into
Smarty, which I've seen suggested here, isn't there a way to tell my
PHP page to display the text with the proper carriage returns, etc.?
Thanks,
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
CONTACT US VIA SKYPE:
USERNAME: longtermsolutions
CONTACT US VIA INSTANT MESSAGING:
AIM or iChat: longterm1954
Yahoo: longterm_solutions
MSN: bob at patin.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