> With method 2 it seems like your template file would become redundant > because every one of them would have to contain the header and footer > code. > > I would use 3 template files, header.php, footer.php, and > body_index.php > > index.php would: > > 1. PERFORM LOGIC > 2. include header > 3. include body > 4. include footer > > Then, all you have to do is make new body_XXX.php files for each page > on > your site and the header/footer content is contained in one place.
Ok, wait, I'm having a hard time understanding this... the browser would request the same index.php every time? with server.com/index.php?query_string? And the query string would determine the body_XXX.php to be included? Right now I have it set up so that a different index.php is requested each time, but calls the same template.php. -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [662-518-1636] E-mail [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php