Week 4: Form Handling with PHP

🗓 Week of September 24

Concepts

Starter Files

Get the Week 4 starter files from GitHub.

Fork on GitHub

PART 1

Functions

PHP has many built in function, but sometimes it is necessary to create our own. We will learn about create user-defined functions.

View

PART 2

Includes

We explore how we can add any text file to any PHP file.

View

Practice

In-Class Exercise

Blacksmith

Create a text-based Blacksmith game using functions, conditional statements, HTTP variables, and PHP includes.

Fork on GitHub | View Completed Version

Individual Assignment

Functional Fishing

For this assignment you will be demonstrating your understanding of using functions, conditional statements, HTTP variables, and PHP includes by creating a simple interactive fishing game.

View on GitHub Classroom

Independent Study

php.net

PHP Array Functions

There is over 100 Array Functions built into PHP. If you need to do something to an array, chances are there is already a function for that. Review the PHP Array Functions documentation to learn more.

View

PluralSight

Close Encounters with PHP - Includes & Requires

Watch the second 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.

Watch