View Full Version : Easy way to update tables across a site?

08-07-2004, 04:25 PM
Hi Folks

I have a personal website (www.sabharwal.com) which I created using only HTML. As the size of the site has grown, it has become rather unreasonable to make changes to the tables at the top and bottom of each page on the site. Therefore, I started looking into the possibility of running some sort of script which references an outside file containing the table code.

Does anyone have an idea how I would do this?


08-07-2004, 04:42 PM
you'd need to take a server side approach to templating.

Who are you hosted with and what server side langauges do they support?

08-07-2004, 04:49 PM
I'm with DigitalSpace.net. They support Perl, PHP, MySQL, Python, TCL, C++, Java, java servlets and jsp.


08-07-2004, 05:33 PM
You'll want to look into some PHP tutorials on templating then.

Basically you'll need the require (http://php.net/require) function.