Week 3: Dynamic Pages with PHP
🗓 Week of September 17
Concepts
PART 1
Conditional Statements
We will learn about the conditional statements and when and how to use them.
PART 2
HTTP Variables
The relationship between HTML and PHP is one of give and take. HTTP Variables is how PHP takes the information HTML gives it.
Practice
In-Class Exercise
Clue
It's the Return of Clue! In this simplified version of Clue the player will search for clues in each room in the Mansion.
Using what we have learned about PHP associative arrays, loops, conditional statements, and the $_GET
variable, we will create a simplified version of Clue.
Individual Assignment
aMAZing Adventure
For this assignment you will be demonstrating your skills and understanding of using multidimensional, associative arrays, conditional statements and retrieving variables from the url to create an interactive maze.
Group Project
List of Project Ideas
Each group should send a list of potential project ideas to the professor by email.
This will NOT be graded.
Independent Study
php.net
PHP Variable handling Functions
When writing PHP code it is common to know whether a variable exists or what type a value it holds. Fortunately, PHP has many different function to test the value of a variable. Review the PHP Variable handling Functions documentation to learn more.
PluralSight
Close Encounters with PHP - Request & Forms
Watch the first part of this five-part course that explore the basics of PHP and learn what it takes to work within the one of the most popular web languages.