How to display HTML code stored in a table column on a form template

Status
Not open for further replies.

DrJekyll

New Member
Hi!
I have created a table with some attributes to display it as a table view. By clicking on the edit link in the table view i want to display a read-only form template with only on column of my table (display_html). The data in the table is inserted via MySQL frontend and is read only.

I've set up a template like the custom_layout_example. The only thing i do is to echo the value of my element.

<?php echo $element->value;?>
instead of
<?php echo $element->label;?> <?php echo $element->element;?>

The problem is, that the html-tags stored in the table column seem to be parsed in advance so that they are not executed. Example: </table> gets to &lt;/table&gt

Can someone help me?
Jeff
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top