Learning PHP 101 – Custom Functions

Although PHP has a lot of built in functions. Developers often need to write their own functions in order to achieve their objectives. Functions are useful for eliminating repetition, but they can also be used to perform complex tasks and can even be used to group together a series of functions to output a particular […] Read more

Learning PHP 101 – Built In Functions

Functions are reusable bits of code that you use throughout a project. They help to better organize your application as well as eliminate the need to copy/paste repetitive pieces of code. In an ideal world an application should not have multiple functions doing the same thing. PHP has a lot! of built in functions and […] Read more

Learning PHP 101 – While & Do-While Loops

Loops are structures that can execute a set of statements multiple times. They save us time and make code management simpler. Each type of loop serves to fit different scenarios. It is important that you chose the right loop for the job. Remember: The for loop is used to loop through a block of code […] Read more

Learning PHP 101 – For & Foreach Loops

Programmers often have to repeat blocks of code a given number of times or until a certain condition is met and we can achieve this by either typing out each iteration like so: <?php echo “1”; echo “2”; echo “3”; echo “4”; // and so on ?> or we can use a for loop. <?php […] Read more

Learning PHP 101 – Arrays

An array is a list of items that can be stored in a single variable. Imagine making a list of things to do and each item is listed on its own sticky note. Before you know it your entire desk would be covered in sticky notes. The alternative is to group these items together in […] Read more

Learning PHP 101 – Conditionals and Control Flows

Conditionals and control flows are one of the most useful and common functions in PHP. If statements If statements allow you to make decisions within your code. Together with comparisons you can ask simple yes/no questions and provide different outcomes for each. Lets say you need people to declare their age before you can display […] Read more

Learning PHP 101 – Introduction

PHP is one of the most powerful server side programing languages in use to date. It powers most of the sites you see on the web and is a great way to kick start your developer career off. We all learn to code in our own way and writing it down is the best way […] Read more