...

View Full Version : Updating a table cell



Nubblet
09-12-2011, 08:41 AM
Hi Folks

I have created a website using a table layout. Every page on the website uses the same template, and i have a cell on the right that i have used for "Latest Media".

What i would love to know is, is there an easier way to update that one cell in the table and have it update for every page on the website? I have been doing it by manually updating every single pages code. With 100+ pages on my site, that gets pretty tedious.

Any help would be appreciated

Kor
09-12-2011, 10:57 AM
You may use:
- includes using a server-side language. For instance: PHP
http://php.net/manual/en/function.include.php

- load a single page in an iframe:
http://www.iframehtml.com/

There are also some JavaScript or AJAX solutions, but using a server side include looks the best to me.

Nubblet
09-12-2011, 01:23 PM
Have had a good play with the iframes, seems to do nicely for me.

thanks for your help



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum