HTML question ... inserting text files...

Schladdy

Junior Member
Aug 1, 2000
2
0
0
A question for the HTML gurus out there...

For the navigation part of my webpage I would like to create everything in a seperate file and then call that file from each one of the pages, therefore I would only have to write the navigation once and a change in one place equals a change on all the pages. Similar to linking CSS documents. Is this possible? And if so what command will do it?

#include or something similar??

Thanks,

Schladdy
 

KB

Diamond Member
Nov 8, 1999
5,401
386
126
You would use the #include thingy if your server supports server side includes. If it doesn't, you could try to use frames or floating frames.
 

andri

Senior member
Aug 12, 2000
339
0
0
If your server supports PHP, you can use this script:



<<
<?php
include (&quot;navigation.php3&quot;);
?>
....your document
>>