Ok, this is a very simple code for php, but it is also very useful. Php includes are very similar to html Iframes. They have the same basic use, but some people prefer using the php include, because it seems to be so much cleaner, and much more efficient. What does it do? Well, if you put the code into your page, which is shown below, the file that you name in the code will show up on the same page as the file you put the code in. For example, if you want your news page to show up on your index page, simply put this code on the index page, change the file name to your news file, and then your done! So here is the code:
So, now you have it. Just change "page.php" to your file name and your done!
Slaker.
So, now you have it. Just change "page.php" to your file name and your done!
Slaker.
Donation:If you like our free quality work, make a donation by using Paypal and tell us what you would like to see improved on our site for the next few months. |
|
No comments yet













Page Info












