AnsweredAssumed Answered

Extracting paragraphs from a field with CWP and PHP

Question asked by pewi on Nov 10, 2014
Latest reply on Nov 12, 2014 by steve.winter

Hi,


I am building af website, where I want to extract contents from a text field using PHP. In the FM application the field contains several paragraphs each seperated by a carriage return. I need to translate the whole contents into html wrapping each paragraph in a <p> element instead of the carriage return. But how do I accomplice something like that? Do I need to run a script in FM or is there a simpler way?

 

I would appreciate some good advice, if someone out there know of a solution.

 

Regards

 

Peter

Outcomes