Welcome Guest, Not a member yet? Register   Sign In
parsing CI code in a DB table
#1

[eluser]Unknown[/eluser]
i'm sure this is a noob question..

I have a DB holding my page content, some of which contains CI code.
When I come to render it to the page it is output as raw,escaped code.

Is there a way to get CI to parse it before sending it to the browser?
#2

[eluser]TheFuzzy0ne[/eluser]
Can you show an example of what you are seeing?
#3

[eluser]simshaun[/eluser]
What kind of CI code are you talking about? Do you mean PHP code?
If so, then you'll have to eval() the data, or write it to a temp file and include that.




Theme © iAndrew 2016 - Forum software by © MyBB