From the course: Learning PHP
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Display basic information on an HTML page - PHP Tutorial
From the course: Learning PHP
Challenge: Display basic information on an HTML page
(upbeat music) - [Instructor] All right, it's time to start writing your own code. Here you're given a set of variables, which you can find in the exercise files, and your challenge is to use them to print a story about a person who's going to a certain city to watch a movie with a friend where they select their favorite candy. You'll also notice that there are comments next to some of the variables. You should be sure to format the variable with that text.
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
-
-
-
How PHP works2m 29s
-
(Locked)
Printing on the screen3m 53s
-
(Locked)
Using variables6m 40s
-
(Locked)
Single vs. double quotes7m 3s
-
(Locked)
What are arrays and how do they work?3m 56s
-
(Locked)
Defining arrays8m 10s
-
(Locked)
Challenge: Display basic information on an HTML page36s
-
(Locked)
Solution: Display basic information on an HTML page2m 57s
-
-
-
-
-
-
-
-
-
-