|
Posted by wd on 10/13/05 04:56
On Thu, 13 Oct 2005 16:35:18 +0100, Jackmac wrote:
> Hi all,
>
> Hopefully a simple solution to this problem.
>
> I want to use some common elements in my web pages but want to store them
> centrally so I only need to change one file instead of multiple.
>
> I use it in programming just now so am sure it can be done.
>
> I have say a file page1.html which is standard text, and I wwant to include
> the information on page2.html in the middle section. Is there a way I can
> say:
>
> Call or Include page2.html
>
> If I strip out all the head and body tags, surely I should be able to put
> this in?
>
> Anyone any ideas?
The easiest way is with PHP:
http://tips.webdesign10.com/index.php?p=php-mysql-resources
You can use the "include" statement.
Navigation:
[Reply to this message]
|