RSS Forums RSS
Please support our Site Layout and Usability advertiser: Internet Marketing Services

Can I use a template html page within another html page

Join Date: Feb 2007
Location: Ukraine, Nikolaev
Posts: 4
Reputation: Shu is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Shu's Avatar
Shu Shu is offline Offline
Newbie Poster

Re: Can I use a template html page within another html page

  #17  
Feb 11th, 2007
Hi! I had the same problem sometime ago.
Then I just found a PHP book and there are some appropriatable functions as guys have already said: they are and .

E.g.: I have the main page index.php with the code in it:
<?php
 if (empty($c)) {
    readFile("a.htm");
    } else {
    readFile("$c");
} ?>     

I use it in my own site. It's pretty simple and works. Minus - title of page is unchangable. But I coped with this.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:38 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC