This tutorial is recommended and maintained by Zend a company that develops the PHP language. It is located here. We have outlined the sections we will be using and the order we will use them in for this tutorial below.
Down the Rabbit Hole
An introduction to PHP’s variables and operators.
Calling All Operators
The rest of the PHP operators (there are many), and simple form processing.
Looping The Loop
Basic control structures explained.
The Food Factor
Arrays, PHP array functions, and what it all means.
Rank and File
Everything you’re ever likely to need to know about dealing with external files from a PHP script.
All about functions, arguments, passing by reference, globals and scope.
The Bear Necessities
A gentle introduction to object oriented programming in PHP 4 and PHP 5.
Databases and Other Animals – Part 1
All about connecting to a MySQL database from PHP, using the mysql or mysqli extensions.
SQLite My Fire! – Part 1
Introducing another database: SQLite.