Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | HTML & PHP question

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

HTML & PHP question
Reply
 
Thread Tools
Old 09-10-2008, 20:14   #1
ikthius
Inactive
 
ikthius's Avatar
 
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,165
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
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
ikthius is offline   Reply With Quote
Advertisement
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:55.


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