If im building a website and I want the general layout to be the same through out every page, what should I use/do/learn?
I was looking at CSS, but its not just the text I want to keep unified, its also the left table with several buttons and a picture on top etc.
I would like it so if I change one button on some main file or page, all other pages would have that button change.
Thanks,
Ace
Templated pages
Moderator: General Moderators
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
enter the php include() function. this function includes a file into the current file. do some searching in the forums and other php sites on templates and php. there are many places to get guidance.
here is a site to get you started: http://www.phpdeveloper.org/view_tut.php?id=50
here is a site to get you started: http://www.phpdeveloper.org/view_tut.php?id=50
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
You could also check this
http://smarty.php.net/
I've heard good and bad things. Never used it though
http://smarty.php.net/
I've heard good and bad things. Never used it though