Create and deliver your own elearning using eduslide.net

Browse thousands of lessons. Create your own and share the knowledge.

Sign up for a free eduslide account !
Create your own courses.
Access thousands of lessons.

PHP

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.

Author: Vtc

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 this Author