Monday, September 28, 2009

What the heck is an "include" and why do I want one?

Today we learned a new trick, how to add includes into your website using PHP. With includes you can add content to your website on multiple pages by only creating it once. You create one file and include it into multiple web pages. Some uses could be for a footer on the bottom of you web page or a navigation bar. I created my sample to include a nav bar, click on the link to go to the actual page. http://fall09-1.graphicinterfacedesign.com/mmalo/misc/phpdemo/giants.php

No comments:

Post a Comment