shaunewing
08-10-2002, 02:47 AM
Ok, whilst we're having a trend of PHP challenges - I thought I'd pose a question to see if anybody knows if it is possible.
I've written a custom CMS (Content Management System) for our site in PHP. The system fetches the page details from a MySQL backend and includes it into the page templates.
What I've been looking for over the past few days - is an answer to a question I've had for a while - "Is it possible to parse a MySQL result as PHP?". Currently the page data is HTML and is simply put into the template, but it would be nice to be able to include some PHP functions in the page.
Short of writing my own little function library, does anybody know if it is possible to do what I am after?
--Shaun.
I've written a custom CMS (Content Management System) for our site in PHP. The system fetches the page details from a MySQL backend and includes it into the page templates.
What I've been looking for over the past few days - is an answer to a question I've had for a while - "Is it possible to parse a MySQL result as PHP?". Currently the page data is HTML and is simply put into the template, but it would be nice to be able to include some PHP functions in the page.
Short of writing my own little function library, does anybody know if it is possible to do what I am after?
--Shaun.
