Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5533 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello Guys,

In Php page I am displaying the content from FileaMaker database.

Where as the [color:red]part of formated text in Filemaker field which is stored is lost on php page.

I need to get the formatted text displayed in php page as it is in FileMaker field.

Awaiting for ur replay

Posted

If I understand you correctly, you have a text field with rich text formatting and you want the formatting to bleed through to the web.

Let's say your text field is called "Description" - in FileMaker, make a new calc field called "Description CSS" with the following formula:

GetAsCSS ( Description )






Then, add Description CSS to the FileMaker layout that you are pointing your PHP query at.



Then, in the PHP page where you are doing the query, you'll need to change this:




$record->getField('Description');




to this:




$record->getFieldUnencoded('Description CSS');

HTH,

j

This topic is 5533 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.