Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   HTML & PHP question (https://www.cableforum.uk/board/showthread.php?t=33639729)

ikthius 09-10-2008 20:14

HTML & PHP question
 
Mainly for the coders really....

Can HTML be broken up and made into PHP files, so that they can be called together to make on HTML file??

I am trying to make a microsite within a site, and some content may be duplicated but needs to have their own branding so to speak.

so instead of keeping lots of files updated, I just want to update one file that will update everything that is calling that file...

I have taken a portion of an HTML file and saved it as homepage.php which has the portion of the HTML I want to store.
This then gets called in a separate index.php file via include() but I get an error.

Can someone help, I been trawling the PHP docs and google for hours and can't find waht I am looking for, I may be using the wrong function.

---------------- Now playing: Lovemongers - Battle of Evermore via FoxyTunes

---------- Post added at 19:14 ---------- Previous post was at 18:56 ----------

I don't know why but it now works.......

I aint changed anything, but it works. will test on a few more

---------------- Now playing: Pearl Jam - State of Love and Trust via FoxyTunes


All times are GMT +1. The time now is 13:29.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum