PHP Introduction

Description

You have created static web pages using HTML and now desire to use the features of PHP for creating dynamic websites.  In this PHP Introduction course, you will acquaint yourself with PHP by working with 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. 

Course Length - 1 Day

Audience

This instructor led, group-paced, classroom-delivery course is designed for those who are well versed in HTML and who have had at least some experience with scripting languages and SQL.  Prerequisites are: 

  • Intermediate level of HTML programming and/or have taken a 1st and 2nd level HTML programming course.
  • Have an introduction to programming.
  • SQL Fundamentals of Querying.
  • Use and have knowledge of the web environment and web browsers is a plus but not required.

Course Objectives:

Upon successful completion of this course, attendees will be able to: 

  • 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.

Software: PHP, Apache, MySQL

Course Outline

Unit 1: Getting Acquainted with PHP

  • Understanding PHP
  • Use the basic syntax of PHP
  • Use HTML and PHP
  • Add comments

Unit 2: Working with Common PHP Script Elements

  • Use variables and constraints
  • Work with control structure statements
  • Work with arrays
  • Use functions
  • Implement object-oriented programming
  • Include content from files

Unit 3: Working with Forms

  • Create forms
  • Validate a form
  • Email data

Unit 4: Addressing the Stateless Nature of HTTP

  • Set cookies and session variables
  • Write scripts using hidden form fields

Unit 5: Accessing and Manipulating Data with PHP

  • Interact with databases
  • Modify database records using PHP
  • Access files and directories

EK: 085963