WYSIWYG and Code Generator > Detail Page

3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 6, 2018   (RSS)

By Twocans - March 5, 2018

Hi,

First off I use the wysiwyg and enter 2 paragraph.
ON using the code generator for my detail page output I have

<?php echo htmlencode($record['content_area']) ?>

But the output when the page is viewed on a browser shows the <p> and </p> as part of the unformatted content.

The page is

<?php header('Content-type: text/html; charset=utf-8'); ?>

The page page can be viewed here.

http://www.multilingualinternet.com/index.php

How can I get the output to be shown as formatted.

Cheers

Kenny

By Twocans - March 6, 2018

Haha 

What a silly mistake on my behalf. 

Thanks very much ok. it is now working as required.

cheers

Kenny