|
DAY ONE
Introduction • PHP and how it works • Your first PHP page • Different functions: Print, Echo and Print F
Variables and identifiers • Working with Identifiers • Variables, String, Number • The ‘here doc’ function • The Math operators • Using constants • Concatenation • Shorthand operators • Using Expressions • Using variables and variable scope
Conditional statements • Control statements • Logic and relational operators • Using ‘If’, ‘Else if’ and ‘Else’ • Switch operator • Comparison operators • Conditional operators
Loops • Using the While loop • Break statements • Continue statements • Using ‘do...while’, ‘for’, ‘foreach’
Functions • Creating your own functions • Calling a function • Using arguments • Return statements and static statements • Scope of variables • Optional arguments • Dynamic, built-in and data functions |
DAY TWO Arrays • Array assignments • Array functions
Form validation • Validating mandatory information • User friendly validation techniques • Using the setcookie function • Data functions • String functions
Advanced forms • Working with drop down menus • Checkboxes and radio buttons • Comparison functions • Using Strcmp() • Using Strcasesmp()
HTTP • HTTP basics • Headers • Environment variables
Cookies • Setting cookies • Reading cookies • Deleting cookies • When to use cookies
Session variables • Setting sessions • Storing session variables • Reading sessions • Deleting sessions
Email function • Creating auto-responder • Using email to accept simple on-line orders
Built in functions • Include() • Require() • Include_once() • Require_once()
Overview of MySQL Overview of PHP and XML
Questions and answers |