Introduction to PHP

Home > Training Programmes > Programming > Introduction to PHP

Overview & Objectives:
This course showcases the popular and powerful scripting language for building database-driven web sites. Introduction to PHP (Hypertext Preprocessor) teaches you the necessary skills to immediately exploit PHP on your Internet or intranet web site.

Course Duration:
1 Day (Part-time or Fulltime available)

Who should attend:
This course is for web development professionals who need to add dynamic content to their web sites, including form processing and database-driven content generation.

Course Modules:

1. Hypertext Preprocessor (PHP): A Web Server-Side Technology
  • Client-Side vs. Server-Side Web Technologies
  • The Web's Client-Server Relationship
  • Which Web Servers Support PHP?

2. Writing PHP Pages
  • PHP Code In An HTML Context
  • PHP Statements
  • Enclosing Scripting Code within your PHP Pages
  • Strings in PHP
  • Developing PHPs in This Class
  • An Example: "Hello World"
  • Conditional Constructs with "if"
  • Comparison Operators in PHP
  • The Logical AND (&&) and OR (||)

3. Processing Data from Online Forms
  • The <FORM> Tag and Its Attributes
  • Scalar Variables in PHP
  • Demonstration: Displaying a Customized Greeting
  • Combining the Form and Its Processing Code In One PHP File

4. Working with Cookies
  • Setting a Cookie
  • Retrieving a Cookie
  • Example: Setting, Retrieving, and Expiring a Cookie

5. Maintaining State with Sessions
  • Sessions
  • Storing and Retrieving Session Values
  • Example: Using the Session Object to Track a Shopping Cart
6. Email with PHP
  • Sending E mail PHP

7. Writing To A Text File
  • Example: Writing to a Tab-Delimited File
  • Example: Reading from a tab-delimited text file

8. Loop Structures
  • For Loops
  • Foreach Loops
  • While Loops

9. Database Integration with PHP
  • The Databases Used in this Class
  • Issuing Database Commands with SQL
  • Example: Selecting and Viewing Data From guestbook.mdb
  • Connecting and Issuing Commands to the Database
  • Displaying Database Results

10. Working with Meta Information from a Database
  • Object-Oriented PHP
  • Development Strategy Session: Building an Interface for Updating Client
    Records

11. User-Defined Functions in PHP
  • Functions

12. Regular Expressions
  • Character Types and Ranges
  • Quantity Indicators
  • Location Indicators
  • Regular Expressions in PHP

13. Drilling Down and the Query String
  • Building the Query String into a Link
  • Generating Drill Down Links Dynamically

14. Installing PHP

15. Installing MySQL

MORE INFORMATION...


Feedback-Button