Syllabus

  1. 01Handling FormsHow HTML forms send data to PHP, reading it from $_GET, $_POST and $_SERVER, printing it safely, and building forms that remember their values.5 lessons
    1. 01How Forms Send Data
    2. 02$_POST, $_SERVER and Missing Fields
    3. 03Printing Input Safely
    4. 04Sticky Forms
    5. 05Project: Unit Price Comparator
  2. 02Validating FormsCheck that input is present and well formed with PHP's filter functions and regular expressions, report errors clearly, and keep submitted data out of SQL with prepared statements.6 lessons
    1. 01Why and What to Validate
    2. 02Validating with filter_var
    3. 03Regular Expressions
    4. 04Reporting Errors
    5. 05Keeping Input Out of SQL
    6. 06Project: Workshop Registration