Click to See Complete Forum and Search --> : Can anyone tell me how to display content from one HTML document in another
Wateva
12-04-2005, 06:25 PM
I have used the AnyLink Drop Down Menu (http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm) In my Website, and I am wanting to have the menu in another document so that I can change that document: for instance add a new section and It will change that menu for tyhe the whole site so that I don't have to go through each page and change it each page. So how to display content from one HTML doument in another? :)
MGEbball
12-04-2005, 09:15 PM
I had the same question as you a few days ago. You need to use php from my understanding. This will keep the menu on all pages and make it easy to update.
<?php include "yoursite.php"; ?>
Kravvitz
12-04-2005, 11:15 PM
Use PHP includes (http://www.php.net/manual/en/function.include.php) or SSI (http://httpd.apache.org/docs/howto/ssi.html).