include question

From: Date: Mon, 17 Sep 2001 21:32:48 +0000
Subject: include question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67645@lists.php.net to get a copy of this message
Hello everyone- I am working on a project where a client can upload a template into a database table and manage it. The actual HTML code and dynamic code will be in the template as well. My hope is to build the page using an include that will echo the code to the page and then also fill in the dynamic variables. So, I would grab the template_content from the template database and print out the template file, then I would also grab the dynamic content from the content table and it would fill in the template file. I would prefer to do it with the template in the table so they can manage it, but I might need to actually write a file out and include it when I create the page. Any thoughts?

« previous php.general (#67645) next »