From the course: PHP for Web Designers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Moving common elements to include files

Challenge: Moving common elements to include files - PHP Tutorial

From the course: PHP for Web Designers

Start my 1-month free trial

Challenge: Moving common elements to include files

In the previous two videos. You've seen how serverside includes work and how the various include commands differ. Now, it's your turn to put that information into practical effect. You can work with a site of your own but if you're a premium subscriber you will find a folder called Hansel and Patel in the download files. It contains the case study I'll be using through the rest of this course. It's part of a site for a fictitous flower shop called Hansel and Petal, and it was originally built using HTML pages. I've already converted the file names and internal links to PHP pages, and to keep things relatively simple. There are only nine pages. So if you want to try out the links, this one works. Arrangements, and then, mixed arrangements. And then, if we go into that menu again, mixed roses, build a bouquet, and our designers. These links all work. The challenge, should you wish to accept, is to examine the HTML in either this website, or an existing website of your own. And decide…

Contents