PHP Tutorial

Sources:

Table of contents

  1. Introduction
    • welcome
    • what is PHP?
    • data flow
  2. Getting Started
    • software you need
    • installing on windows
    • installing on mac
    • site configuration
    • Dreamweaver sites
    • PHP editors
    • php.ini and phpinfo
    • server-side code
    • about the projects
    • Coding Convetions
  3. Scripting Basics
  4. Flow Control and Looping
    • if-else conditions
    • the switch statement
    • for loops
    • while loops
    • break and continue
    • beware of infinite loops
  5. Arrays Five Cool PHP Array Functions
    • creating and using arrays
    • manipulating arrays
    • iteration loops
    • built-in PHP arrays
    • multidimensional arrays
    • flipping, reversing, and shuffling
  6. Working with Strings
    • strings in PHP
    • printing and output
    • combining strings
    • string and character indexes
    • string functions
    • string lengths
    • comparing strings
    • find and replace
    • substrings
    • string case functions
    • cleaning up strings
  7. More About Strings
    • escaping strings
    • parsing strings
    • formatting strings
    • regular expressions, pt 1
    • regular expressions, pt 2
  8. Working with Forms
    • working with web forms
    • processing get and post
    • server variables
    • checkboxes and radio buttons
    • selection lists
    • hidden fields
    • form field validations
    • magic_quotes_gpc
  9. Functions
    • what are functions?
    • working with functions, pt 1
    • working with functions, pt 2
    • call-by value and reference
    • variable parameter lists
    • variable scope
    • global variables
    • include and require statements
  10. Object Oriented Programming
  11. Working with Databases
    • MySQL and our samples
    • connecting to data
    • retrieving data
    • data error handling
    • manipulating data, pt 1
    • manipulating data, pt 2
    • HTML grids
    • search forms
    • additional database software
  12. Web Site Interactivity
    • page redirection
    • email and PHP
    • an email form
    • user registration, pt 1
    • user registration, pt 2
    • user registration, pt 3
    • dynamic web pages
  13. Session State
    • controlling session variables
    • PHP sessions
    • session functions
    • a session example
    • a login system
    • working with cookies
  14. Debugging Scripts
    • syntax errors
    • browser rendering issues
    • timeouts
    • numeric issues
  15. Wrap-up
    • conclusion