Help - Search - Members - Calendar
Full Version: Is there a way....
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
asnbiscuits
So is there a way to update all of your webpages at the same time. i mean, one time i found a small mistake on all of my webpages. and then i had to go through all 20 of my web pages to fix it. and damn, its a pain lol
Azarel
I believe if you create your site using PHP, you'd be able to do just that.
asnbiscuits
yeah i use php. but how do you do that?
freeflow
You can read this . You use php includes:
http://pixelfx.org/tuts/php/phpincludes.html
mipadi
Or server-side includes, if you're just using straight HTML. Wikipedia, of course, has more info.

Server-side includes are a lot easier to use than PHP, but not as flexible.
asnbiscuits
so uh what am i suppose to do? is there a code for this?

and thanks for the links
freeflow
Its not a code, its php includes. You learn how to include certain files.
The tutorial I gave you is for you to place your layout into a css file, header file, and footer file. Then you include (by following the tutorial) the css file, header file, and footer file on each page.

Then when you change your layout you only have to edit the css, header, and footer files.
asnbiscuits
thanks for breaking it down. i got it!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.