Introduction
  • Course overview
  • Installing XAMPP on Mac
  • Installing a free code editor (Optional)
  • PHP code in HTML
  • Phpinfo
  • Using Echo statement in PHP
  • Using Print statement in PHP
  • Adding comments in PHP
  • Line break
Variables and Data Types
  • Variables in PHP
  • Multiple ways to add variables in echo/print
  • Data types
  • Arrays
  • Associative arrays
  • Multidimensional arrays
  • Solutions exercises data types
Operators in PHP
  • Arithmetic operators
  • Assignment operators
  • Comparison operators
  • Logical operators
  • Increment and decrement operators
Control structures
  • Conditional statement
  • Switch statement
  • While loop
  • Do-while loop
  • For loop
  • Foreach loop
  • Solutions control structures
Functions in PHP
  • Introduction to functions
  • Creating our first function
  • Functions with arguments/parameters
  • Functions with return value
  • Global and local scope in PHP
  • Constants
  • Including documents
  • Requiring documents
  • Solutions function exercises
Build in functions in PHP
  • Introduction to build-in functions
  • Math build-in functions
  • String build-in functions
  • Array build-in functions
  • Date and time build-in functions
  • Random number build-in function
  • Solution build-in functions
How to work with superglobals in PHP
  • Introduction to superglobals
  • Superglobal 'Post' in PHP
  • Superglobal 'Get' in PHP
  • Superglobal 'Session' in PHP
  • Superglobal 'Cookie' in PHP
  • Superglobal 'Files' in PHP
  • How to create a working upload system
  • Create and write to a file
  • How to read from a file
  • Creating a working contact form
Introduction to databases
  • Introduction to databases
  • Creating a MySQL database
  • Creating a MySQL table
  • Inserting data using MySQL
  • Selecting data using MySQL
  • Updating data using MySQL
  • Deleting data using MySQL
  • Ordering data using MySQL
Using a database to create a register/login script
  • Connecting to the database in PHP
  • Printing database data in the browser
  • Markup for login/register page
  • Saving data from a register form
  • Error handlers in the PHP script
  • Prepared statements to prevent SQL injection
  • Password hashing in register script
  • Login script