Tutorials and Online Training Videos

PHP Tutorial


**NOTE** This course explains an outdated version of PHP. If you have installed PHP recently it is highly likely the code shown here WILL NOT WORK in your scripts. We highly recommend viewing This PHP title instead
A PHP5 title is also currently in production. **NOTE**

PHP (Hypertext Preprocessor) is a tool that lets you create dynamic web pages. PHP-enabled web pages are treated just like regular HTML pages and you can create and edit them the same way you normally create regular HTML pages. Virtual Training Company's tutorial is taught by Joshua Mostafa and shows you how to get the most out of using PHP. He begins with the basics and takes you smoothly through all you need to know to use PHP in creating an incredible web site. To start today, just click on one of the topics below.

Concepts

What is PHP?
Data Flow
What You'll Need pt. 1
What You'll Need pt. 2
Scripting vs. Viewing
Your First Script

Absolute Basics

Embedding PHP within HTML
Variables
Operators
More Complex Operators pt. 1
More complex Operators pt. 2

Making Choices

Introducing Conditionals: 'If' and Conditional Operators
Logical Operators
Using 'Else' and 'Elseif'
Multiple Choices: 'Switchcasebreak'
The Concise Conditional: '?' :

Loops and Control Structures

Repetition: The 'For' Loop
'While' and 'Do..While' Loops
Get Me Out Of Here! 'Break' and 'Exit'

Data

Introduction to Arrays
Referencing and Sorting Arrays
Associative Arrays pt. 1
Associative Arrays pt. 2
More About Arrays
Multidimensional Arrays
Joining Arrays and Splitting Strings
More String Manipulation
Replacing Text Within Strings
Introduction to Regular Expressions pt. 1
Introduction to Regular Expressions pt. 2
More About Regular Expressions pt. 1
More About Regular Expressions pt. 2
Replacing Text Using Regular Expressions

Querying A Database

Our Sample MySQL Database
Connecting to the Database
Retrieving Data

Interacting With The User

A Simple HTML Form
A Simple PHP Search Script. pt. 1
A Simple PHP Search Script. pt. 2
Validating User Input
A Search Feature With Dynamic Options pt. 1
A Search Feature With Dynamic Options pt. 2
An HTML Form For User Feedback
Adding The Feedback to the Database pt. 1
Adding The Feedback to the Database pt. 2
Validating an Email Address
Uploading a File pt. 1
Uploading a File pt. 2

Intermediate Coding Techniques

Reusing Code: Functions pt. 1
Reusing Code: Functions pt. 2
Variable Scope
Calling By Value or By Reference
Variable Numbers of Arguments
Calling Functions Through Variables
Recursive Functions
Date and Time
Using External Code Resources
Error Capture: The Graceful Death pt. 1
Error Capture: The Graceful Death pt. 2
Error Capture: Custom Error Handlers pt. 1
Error Capture: Custom Error Handlers pt. 2

Sessions and Users

A Simple Login System
Sessions
Cookies
Logging a User In pt. 1
Logging a User In pt. 2
Logging Out
Registering a User pt. 1
Registering a User pt. 2

Objects

Classes And Objects
Properties and Methods pt. 1
Properties and Methods pt. 2
Constructor Functions
Inheritance pt. 1
Inheritance pt. 2
Polymorphism
Aggregation pt.1
Aggregation pt. 2

Building a Data-Driven Website

The Project: A Discussion Forum
Common Elements pt. 1
Common Elements pt. 2
Adapting the Login Page pt. 1
Adapting the Login Page pt. 2
Adapting the Registration Page
View all Threads pt. 1
View all Threads pt. 2
Viewing a Thread pt. 1
Viewing a Thread pt. 2
Making or Editing A Post pt. 1
Making or Editing A Post pt. 2
Deleting a Post or Thread

Credits

About the Author


Related Books on PHP







Save $80 on the
DROID BIONIC
by Motorola with Verizon Wireless service for less than from Verizon Wireless directly.
Save $80 on DROID BIONIC
More Cell Phone Discounts