I'm still in the planning stages of a site system, and trying to figure out if I can do what I've already begun.
What I have is a simplistic table template. I'd like to store blocks of php code in a database, fill in the template from stored blocks, then process it; a script within a script.
One possible method would be to retrieve the blocks, assemble them, and write a file then include that file at the end of the original script or re-directing to the created file. Another option would be the create_function(), but I've been warned it is excessively slow. What I would prefer would be some method of processing the stored blocks without writing to a file.
Anyone have a solution like this?