March 1st, 2001, 08:59 PM
Help! How can I put bits of html code in several html pages, so that they all can be updated in seconds without the use of frames (say, if I have a menubar on all of my webpages, and want to update the menu without having to code every single page, but just upload the "menu-bit")? I know ASP can do this, and lots of other stuff, but is there any other way to do it (shtml or other kinds of special html pages)? With a standard webaccount with my (Norwegian ISP), I have not the opportunity to use server-side-solutions.
March 4th, 2001, 03:52 PM
March 5th, 2001, 08:10 AM
March 5th, 2001, 08:36 AM
Try this server side includes statement:
<!--#include file="mymenubar.htm" -->
or this PHP statement:
<?php include("mymenubar.htm"); ?>
These assume that 'mymenubar.htm' is in the same directory as the web page calling 'mymenubar.htm'.