Click to See Complete Forum and Search --> : dynamic page - import from files


aeetes
12-06-2004, 12:43 PM
Using PHP how would I go about taking content from different local files (HTML) and putting them all together to show as a single file?

One of the files would be the same alwayes header.htm, 2nd would change between X number of pages navi1-7.htm, and 3rd would be the one targeted by by a link.

Even just a hint at the syntax for loading in a page would be much appriciated. Thanks in advance.

Daniel T
12-06-2004, 12:49 PM
Use includes (http://www.php.net/include) ;)