Welcome to the third and final installment of this series on A Complete Beginners Guide to Arrays in PHP. In part 3 we will explore some more of PHP’s built in array functions and and also look at some practical examples of using these functions by writing some useful scripts of our own. To start […]
arrays
A Complete Beginners Guide to Arrays in PHP – Part 2
Welcome to part two of A Complete Beginners Guide to Arrays in PHP. Previously in Part 1, we looked at the kinds of arrays supported in PHP and how to initialise, pre-initalise these arrays. We also looked at how to access and modify the values of arrays as well as using the foreach loop to […]
A Complete Beginners Guide to Arrays in PHP – Part 1
In this article I am going to give you a basic primer on Arrays and how we declare, use and manipulate them in PHP. Unlike Scalar Data Types, arrays are a constructs, special variables that contain a collection of other variables which in turn can have varying data types. One way to visualise this would […]