PHP is the most popular server-side language used to build dynamic websites, and though it is a very extensive language, this class will take it step-by-step.
You will learn how to make your pages dynamic based upon user interaction, interacting with HTML forms and store and retrieve information from local data sources which include a database.
Objectives for this class:
- Understand how server-side programming works on the web.
- PHP Basic syntax for variable types and calculations.
- Creating conditional structures
- Storing data in arrays
- Using PHP built-in functions and creating custom functions
- Understanding POST and GET in form submission.
- How to receive and process form submission data.
- Reading and writing cookies.
- Security tips (i.e. SQL Injection)
- Create a database in phpMyAdmin.
- Read and process data in a MySQL database.
Applicable Job Roles: web designer, web developer, webmaster, web application developers
- Setting up a development environment
- Variables, numbers and strings
- Calculations with PHP
- Using Arrays
- Conditional Statements
- Using Loops for Repetitive tasks
- Combing Loops and Arrays
- PHP’s Built-in functions
- Creating Custom functions
- Passing Values by Reference
- Understanding Objects
- Server-side includes
- Building a Form
- Processing a Form’s Data
- Differences between POST and GET
- Preserving User Input
- Dealing with checkboxes and radiobuttons
- Retrieving values from lists
- Validating and restricting data
- Sending Email
- Setting and Reading Cookies
- Protecting Online Files
- Understanding Session Variables
- phpMyAdmin Overview
- Using a MySQL Database
- Reading and Writing Data
- Completion of Introduction to XHTML (H401) or equivalent knowledge.
- Completion of Introduction to CSS (H151) or equivalent knowledge.
- You must have an UNIX/Linux web host account that supports PHP and a MySQL database.