[FX.php List] Displaying FM text block with formatting

Bob Patin bob at patin.com
Tue Jun 4 11:03:44 MDT 2013


I figured out how to do it: I created a 2nd field that is a calc field:

field1 -- my original field with formatted text in it
field2 -- a calc field, = getasCSS ( field1 )

Then, in PHP, I use

echo html_entity_decode ( $field2 );

and I see my properly formatted text.

I'd be interested in hearing if there is a simpler way to do the same thing, without having to use a 2nd field.

Thanks for any input,

Bob Patin
Longterm Solutions LLC
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
FileMaker 9, 10 & 11 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
--
Twitter: bobpatin
AIM: longterm1954
iChat: bobpatin
--
Expert FileMaker Consulting 
FileMaker Hosting for all versions of FileMaker

On Jun 4, 2013, at 10:48 AM, Bob Patin <bob at patin.com> wrote:

> I've never used this before, but I vaguely recall that FX.php has the ability to display text as it was formatted in FileMaker. Am I remembering this correctly, and if so, what's the command to do that?
> 
> Thanks,
> 
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> FileMaker 9, 10 & 11 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> --
> Twitter: bobpatin
> AIM: longterm1954
> iChat: bobpatin
> --
> Expert FileMaker Consulting 
> FileMaker Hosting for all versions of FileMaker
> 
> _______________________________________________
> 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