Log in

View Full Version : Loading from another file script??



SteveToms
01-05-2008, 10:41 AM
I am looking for a script or code that will allow me to reduce the code on one page, and load it from another, so if I have a big page it can be less code

For example
http://stevetoms.com/airlines.htm
Lets say I have a different html file for Airlines, then the second airlines text leads to another source file

djr33
01-05-2008, 11:58 AM
Look into using PHP.

You can do this: <?php include('dir/file.php'); ?> and that will place the contents of dir/file.php into your source code at that point.