Basic PHP

PHP is a great programming language for anyone to learn. It’s a high-level programming language which means it has a lot of “powerful,” time-saving functions that are very readable and understandable. The learning curve is much lower than other programming languages, but it also has many mature, advanced features. For the most part, we’ll be … Read more

Intermediate PHP 3 – Classes/Objects

All modern programming languages have the concept of classes/objects. A class is a collection of methods (functions) and properties (variables that belong to the class). Classes and objects are not the same thing, but they are similar. Classes are used to create objects. Classes are like the blueprint, and objects are the house. You use … Read more

Intermediate PHP 2 – Loops and Fuctions

Loops In programming, loops are a helpful way to iterate through each item in an array. If we wanted to create a normal array with the names of each user, we loop through the array. Code Dissection $names = []; This an empty array, but it won’t be empty for long. foreach The word foreach … Read more

Intermediate PHP 1 – Arrays

In programming, arrays are an important concept. An array is a list of things. The list can be pretty much anything, including strings. We’ll take a look at a fairly basic array. Code Dissection Here we have a fruity array with three fruits in it. [ The left opening bracket starts the list of things. … Read more