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

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

Recommended Posts

Posted

Hi,

I have a text field typically with several paragraphs but the output on web page ignores the paragraph markers altogether (whatever they may be in Filemaker). So the text becomes one big, hardly readable block.

I am using FMSA 11 on Mac, PHP is set to UTF-8 nn FMSA Web Publishing section.

I have tried e.g. GetAsCSS calculation, but PHP just outputs the result plainly on the web page, that is, the original text with html-entities. This might be solved with PHP html_entity_decode() Function but is this really the only option available?

Thanks for any answers!

Arto

Posted

Hi,

I have a text field typically with several paragraphs but the output on web page ignores the paragraph markers altogether (whatever they may be in Filemaker). So the text becomes one big, hardly readable block.

I am using FMSA 11 on Mac, PHP is set to UTF-8 nn FMSA Web Publishing section.

I have tried e.g. GetAsCSS calculation, but PHP just outputs the result plainly on the web page, that is, the original text with html-entities. This might be solved with PHP html_entity_decode() Function but is this really the only option available?

Thanks for any answers!

Arto

Have you tried:

nl2br($your_returned_field);

Posted

Have you tried:

nl2br($your_returned_field);

Hi webko, it worked immediately! So many thanks to you!

Yours,

Arto

This topic is 4896 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.