Hi.
I have in my DB a fied where I do save HTML Data. I want in my view than that field render as html.
How can make it?
Thanks.
Hi.
I have in my DB a fied where I do save HTML Data. I want in my view than that field render as html.
How can make it?
Thanks.
Is there something not working about just echoing it in your view?
You should get the field from the DB:
https://book.cakephp.org/3/en/orm/retrieving-data-and-resultsets.html#getting-a-single-entity-by-primary-key
And echo them on the view:
https://book.cakephp.org/3/en/views.html#alternative-echos
I hope and suggest the data is sanitized against malicious scripts.
I suggest learning more about security.