Here is the link to
w3schools They have some excellent tutorials on php. They start off with the basics and have hundreds of examples, e.g over 20 on arrays from simply setting up an array to sorting the items in an array - there already is a php function to do this.
They are also good for many other web skills from HTML to .NET