Welcome Guest, Not a member yet? Register   Sign In
How do I Store CI / PHP Pages in a Database ?
#1

[eluser]vincej[/eluser]
Hi - as part of my project I am building a very rudimentary CMS where I store the pages in the DB. It all works well when it is static HTML but when I want to store a view where there is embedded PHP two problems occure:

- the PHP renders as though it were text
- the php does not execute.

I believe part of my problem is that the DB happily stores text but I am doing something wrong in terms of storing functions and PHP statements.

I am very gratefull for every suggestion and advice !

Many thanks !




Theme © iAndrew 2016 - Forum software by © MyBB