Navigation

:Home
:Staff
:Contact Us
:Current Projects
:Downloads
:Patch Archive
:Game Reviews
:Gamergeek Review
:Jack Goes to the Movies
:Cool Games Hot Dames
:Sweepstakes
:Gaming News
:Flash Games


 
News
Patch 5.2.2 was released for ADBZRPG5 on 8/17/08. You may see a full list of changes here.

 
News
:Directory
:Hire Us
:Link Us
:Submission Service
:Tools
:Tutorials
:Free Hosting

 
Affiliates

Creative Uncut

GM Tech

LAR Games

Anathema Online


 
What is your favorite genre of game to play




View Results
Free poll from Free Website Polls

 
 

What It Does:

The Php include is used to edit content that will show up on multiple pages instead of having to edit every single page of your site when you make a change. I personally use this for the links on my navbar because if I add a link then I only have to add it once instead of multiple times. It is a time-saver and something that you really need to implement onto any site.

The Code:

First, rename all of your pages to end in .php except for the page in which you are recalling your content. For example "menu.html" is where I keep my navbar.

Next, add this line of code to any page you want the content to appear on where you want it to show up:

<?php require("menu.html"); ?>

Of course you can change "menu.html" to anything you want. On the "menu.html" page, put anything you want to be included.

 


 





Content Copyright 2008 Penguin Run Games. Layout created by www.zymic.com