Introduction to Php

Intro to PHP
One Day - Instructor-led

You have created static web pages using HTML. You now desire to use the features of PHP for creating dynamic websites. In this course, you will acquaint yourself with PHP by working with its common script elements, use the PHP script elements to create forms, address the stateless nature of HTTP by setting cookies and session variables in your scripts, and write the data entered in a form to a database.

Target Student

This course is designed for the student who is well versed in HTML, and who has had at least some experience with scripting languages and SQL.

Prerequisites

To ensure your success, we recommend you first take the following courses or have equivalent knowledge:

  • Foundations of HTML & CSS
  • Introduction to Programming
  • SQL Fundamentals of Querying

Objectives:

  • Familiarize yourself with PHP
  • Work with common PHP script elements
  • Work with forms
  • Address the stateless nature of HTTP
  • Access and manipulate data with PHP

Course Outline

Lesson 1: Getting Acquainted with PHP

  • Understand PHP
  • Use the Basic Syntax of PHP
  • Use HTML and PHP
  • Add Comments

Lesson 2: Working with Common PHP Script Elements

  • Use Variables and Constants
  • Work with Control Structure Statements
  • Work with Arrays
  • Use Functions
  • Implement Object-Oriented Programming
  • Include Content from Files

Lesson 3: Working with Forms

  • Create Forms
  • Validate a Form
  • Email Data

Lesson 4: Addressing the Stateless Nature of HTTP

  • Set Cookies and Session Variables
  • Write Scripts Using Hidden Form Fields

Lesson 5: Accessing and Manipulating Data with PHP

  • Interact with Databases
  • Modify Database Records Using PHP
  • Access Files and Directories