Forum Moderators: coopster

Message Too Old, No Replies

Parse php page in a database

         

John_Keates

5:37 pm on Dec 4, 2005 (gmt 0)

10+ Year Member



Hey all,

I'm trying to build a new page management system for my site, like this:
1. A form to make / edit pages
2. A script to put it into database
(works correctly till now)
3. Get the page out of the database and display it inside another php page.

But it won't parse php that was stored in a database... how do I make it work, any ideas?

dmorison

5:42 pm on Dec 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have a look at eval() [uk.php.net] which should do what you want.

John_Keates

5:57 pm on Dec 4, 2005 (gmt 0)

10+ Year Member



That was the missing thing ... tank you :-)