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 […]
multidimensional
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 […]