[FX.php List] Keeping text formatting from a FM field

Joel Shapiro jsfmp at earthlink.net
Tue May 27 18:33:17 MDT 2008


Dang!  You're too fast, Bengston!


On May 27, 2008, at 5:28 PM, Dale Bengston wrote:

> Hi Bob,
>
> Isn't there something like a GetAsCSS function in FileMaker these  
> days? Maybe make an auto-enter calc field that applies GetAsCSS and  
> display the calc'd field?
>
> Dale
>
> On May 27, 2008, at 7:12 PM, Bob Patin wrote:
>
>> I'm trying to display text just as the client entered it, but when  
>> I try nl2br() I get the carriage returns and not the bolding.
>>
>> Then I tried htmlentities(nl2br()) but that didn't work, and in  
>> fact removed the carriage returns.
>>
>> I searched my emails but couldn't find the solution; how do I do  
>> this?
>>
>> Thanks,
>>
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com
>> 615-333-6858
>> http://www.longtermsolutions.com
>> FileMaker 9 Certified Developer
>> Member of FileMaker Business Alliance and FileMaker TechNet
>>
>>  CONTACT US VIA INSTANT MESSAGING:
>>     AIM or iChat: longterm1954
>>     Yahoo: longterm_solutions
>>     MSN: tech at longtermsolutions.com
>>     ICQ: 159333060
>>
>> --------------------------
>> Contact us for FileMaker hosting and programming for all versions  
>> of FileMaker
>> PHP • CDML • Full email services • Free DNS hosting • Colocation •  
>> Consulting
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> 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