[eluser]Ajaxian64[/eluser]
Hello
I have an table in a database in which I have a column: 'article'
In this article I store pure Html code and also
CI code.
For instance I store text with anchor, images .. and so I use
CI helper code (html, url...)
In my controller I get the contain of the article from DB, and send it to the view.
In the view, I do
Code:
<?php echo $article->row()->contain; ?>
But when I display the contain of this article, html si correct but the CI code is not interpreted.
Is there a mean to store in database CI code which can be interpreted when displayed in a view ?