PDA

View Full Version : looking for a basic php template


hobbitTech
03-12-2008, 05:23 PM
I am looking for a basic php5 script that includes a header.php, footer.php, left.php, right.php files. I want the header, footer, left, right files to remain the same but have changable content down the middle. Thank you.

dang
03-12-2008, 07:44 PM
What are you trying to achieve?

I would suggest you use a templating system like Smarty (http://smarty.php.net). Use PHP5 to load the data (from a db or file) and then send that data to the templates. You can define multiple templates, so one for header, footer, left and right bars and a center column (with the HTML using CSS).

hobbitTech
03-13-2008, 08:01 AM
A script that uses php and css to make a webpage that has a left collumn a right collumn a top and a bottom. Then I want to be able to change the middle/body.:brick