Categories
Learning Journal

Search a Multidimensional Array

Searching a PHP array was not as simple as I had thought. Sure, you can use array_search() but that only finds one value off an array the last time I tried it out. I needed something to search a multidimensional array, for example… I tried many things before I finally figured it out!

Categories
Learning Journal

Create Multidimensional PHP Arrays

Creating a multidimensional array is quite simple as long as you get over the initial confusion learning to create or work with one.