Introduction to PHP Training

  4.7 out of 5 - Read Testimonials

In this PHP training course, students will learn to create database-driven websites using PHP and MySQL or the database of their choice.

Goals
  1. Learn how PHP works.
  2. Learn the basic syntax of PHP.
  3. Learn to create dynamic interactive pages with PHP.
  4. Learn to manipulate files with PHP.
  5. Learn to work with arrays in PHP.
  6. Learn to validate forms with PHP.
  7. Learn to write functions in PHP.
  8. Learn to manipulate and manage database data with PHP.
  9. Learn to authenticate users with PHP.
  10. Learn to manage sessions with PHP.
  11. Learn to work with the MDB2 package.
  12. Learn advanced form validation with regular expressions.
  13. Learn to send email with PHP.
Outline
  1. PHP Basics
    1. How PHP Works
    2. The php.ini File
    3. Basic PHP Syntax
      1. PHP Tags
      2. PHP Statements and Whitespace
      3. Comments
      4. PHP Functions
      5. Hello World!
    4. Variables
      1. Variable Types
      2. Variable Names (Identifiers
      3. Type Strength
      4. Hello Variables!
      5. Variable Scope
      6. Superglobals
      7. Constants
      8. Variable-Testing and Manipulation Functions
    5. First PHP Script
    6. PHP Operators
    7. Creating Dynamic Pages
      1. Single Quotes vs. Double Quotes
      2. Passing Variables on the URL
    8. Passing Variables via the Query String
  2. Flow Control
    1. Conditional Processing
      1. If Conditions
    2. Working with Conditions
    3. Loops
      1. while
      2. do...while
      3. for
      4. break and continue
    4. Working with Loops
  3. Arrays
    1. Enumerated Arrays
      1. Initializing Arrays
      2. Appending to an Array
      3. Reading from Arrays
      4. Looping through Arrays
    2. Working with Enumerated Arrays
    3. Associative Arrays
      1. Initializing Associative Arrays
      2. Reading from Associative Arrays
      3. Looping through Associative Arrays
      4. Superglobal Arrays
    4. Working with Associative Arrays
    5. Two-dimensional Arrays
      1. Reading from Two-dimensional Arrays
      2. Looping through Two-dimensional Arrays
    6. Array Manipulation Functions
  4. PHP and HTML Forms
    1. HTML Forms
      1. How HTML Forms Work
      2. A Sample HTML Form
      3. Form Variables
    2. Processing Form Input
  5. String Manipulation
    1. Formatting Strings
      1. Concatenation
      2. String Manipulation Functions
      3. Examples of String Functions
    2. Working with String Manipulation Functions
    3. Magic Quotes
      1. magic_quotes_gpc
      2. magic_quotes_runtime
      3. Recommendation on Magic Quotes
  6. Reusing Code and Writing Functions
    1. Including Files
      1. require
      2. require_once
      3. auto_prepend_file and auto_append_file
    2. Adding a Header and Footer
    3. User Functions
      1. Defining and Calling Functions
      2. Default Values
      3. Variable Scope
      4. By Reference vs. By Value
    4. Form Processing
      1. Code Organization
    5. Form Validation and Presentation Functions
  7. Managing Data
    1. Querying a Database
      1. mysqli() Overview
      2. mysqli Methods and Properties
      3. Inserting and Updating Records
      4. mysqli Prepared Statements
    2. Inserting Records
  8. Authentication with PHP and SQL
    1. A Database-less Login Form
    2. Authenticating Users
  9. Regular Expressions
    1. Perl-compatible Regular Expression Functions
      1. preg_match()
      2. preg_replace()
      3. Regular Expression Tester
    2. Regular Expression Syntax
      1. Start and End ( ^ $ )
      2. Number of Occurrences ( ? + * {} )
      3. Common Characters ( . \d \D \w \W \s \S )
      4. Grouping ( [] )
      5. Negation ( ^ )
      6. Subpatterns ( () )
      7. Alternatives ( | )
      8. Escape Character ( \ )
    3. Form Validation Functions with Regular Expressions
  10. Session Control and Cookies
    1. Sessions
      1. Configuring Sessions
      2. Session Functions
    2. Cookies
    3. Authentication with Session Control
  11. Sending Email with PHP
    1. mail()
      1. Shortcomings of mail()
    2. PHPMailer
    3. Sending a Password by Email
  12. File System Management
    1. Opening a File
      1. fopen()
    2. Reading from a File
      1. fgets()
    3. Writing to a File
      1. fwrite()
    4. Writing to a File
    5. File Locking
      1. flock()
    6. Uploading Files via an HTML Form
    7. Getting File Information
    8. More File Functions
    9. Directory Functions
      1. Getting a Directory Listing
    10. Creating a Resume Management Page
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this PHP class:

  • HTML

Experience in the following would be useful for this PHP class:

  • CSS
  • Basic Programming
Preparing for Class
Follow-on Courses

Training for your Team

Length: 4 Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

Training for Yourself

$1,580.00 or 4 vouchers

Upcoming Classes

  • See More Classes

Please select a class.
  • Live Online Training
  • For Individuals
  • Expert Instructors
  • Guaranteed to Run
  • 100% Free Re-take Option
  • 1-minute Video

What people say about our training

I was hoping to learn about how PHP and MySQL work together and that's exactly what I got.
Jon Sexe
MN MANAGEMENT & BUDGET
I needed a leg up on PHP to support a new web site, and this class was an excellent overview. Recommended!
Robert Lynch
Al’s Formal Wear
The material covered was very useful. The exercises and the accompanying printed material were clear and concise. The best part, though, was our instructor. He was knowledgeable, sensitive to our needs and various skill levels, charismatic, and explained things well. He even took the time to examine some code we had written previously, and provide some programming suggestions on a project our department is currently working on. Excellent.
Emily Sharp
Sarah Lawrence College
I really liked the instructor. She was very knowledgeable and able to answer all my questions in a way I understood. I really like the class folder with all the files we worked on that I can now use at work. I had never done an online training class and I really enjoyed it, and I was able to do it from home and was very relaxed.
Daniel Laird
SUNY Oswego

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

60,501

Students who have taken Instructor-led Training

11,680

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

9.33

Students rated our Introduction to PHP Training trainers 9.33 out of 10 based on 35 reviews

Contact Us or call 1-877-932-8228