Unit06-PHP include
What you will learn
In this unit you will learn to breakup your site into various pieces and then reassemble them on the fly based on the page requested by the end user. PHP in one of many server-side languages that has this capability and the one that I will demonstrate in this unit.
Tutorials
I begin by discussing the problem we can solve with PHP and then demonstrate how to pull out common parts and reassemble them using PHP include. Next I show you one of several ways to activate the current menu. I wrap it up by demonstrating a PHP random image picker and showing the photoshop files I used.
In part 1 I will show you the end product and discuss the advantages of breaking up your file.
In part 2 I demonstrate how to break them up and reassemble them on the fly.
In part 3 I show how to now dplicate the master php file and make a complete site.
In part 4 I show you how to hilight the current menu using CSS
In part 5 I demonstrate an ad rotator using PHP.
In part 6 I show you the Photoshop file used in constructing this site.
Paul





