Posted by Oli Filth on 06/07/05 01:29
Luigi Donatello Asero said the following on 06/06/2005 23:16:
> "Michael Winter" <m.winter@blueyonder.co.invalid> skrev i meddelandet
> news:fB3pe.46433$G8.16233@text.news.blueyonder.co.uk...
>
>>On 06/06/2005 22:28, Luigi Donatello Asero wrote:
>>
>>
>>>"Oli Filth" <catch@olifilth.co.uk> skrev i meddelandet
>>>news:3RYoe.1927$ls3.713@newsfe1-win.ntli.net...
>>
>>[snip]
>>
>>
>>>>Use the same <?php include "menu.html"; ?> line in every page.
>
>
> It is no big advantage anyway
It's an advantage on any site with more than about 2 pages!
> because I have to insert it in every page
> which is what I already do with a longer piece of code ( the menu) when I
> copy it in the document tree of the pages.
Yes, but how many pages do you have? Let's say 50.
So every time you want to make a change to your menu, you have to make
the same change on *every* page *every* time, i.e. 50 times.
With an include(), you have to make the change *once*. That doesn't
sound like an advantage?
--
Oli
[Back to original message]
|