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 - PHP Tutorial
From the course: PHP for Web Designers
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
What are server-side includes?4m 4s
-
(Locked)
Deciding which include command to use5m 40s
-
(Locked)
Challenge: Moving common elements to include files1m 54s
-
(Locked)
Solution: Moving common elements to include files7m 4s
-
(Locked)
Making sure internal links still work in an include file6m 1s
-
(Locked)
-
-
-
-
-
-