July 6, 201114 yr 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
July 6, 201114 yr 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);
July 7, 201114 yr Author Have you tried: nl2br($your_returned_field); Hi webko, it worked immediately! So many thanks to you! Yours, Arto
Create an account or sign in to comment