Multidimensional Array | Arrays In PHP - Coding Lane

Опубликовано: 13 Сентябрь 2024
на канале: Coding Lane
77
7

Multidimensional Array | Arrays In PHP - Coding Lane
In this video tutorial, you will learn about Multidimensional Array in PHP.

Arrays are used to store multiple data in a single variable. Arrays are of three different types:

1. Indexed Array


2. Associative Array



3. Multidimensional Array

Multidimensional Array is an array containing one or more arrays. Here you will learn how to print Multidimensional Array using echo statement. But foreach loop is used to print array. So, you are going to learn that in this video.

Also, Multidimensional array can contain two types of arrays i.e
1. Index Array inside array
2. Associative Array inside array


In this video tutorial, you are going to learn to define and print index array inside array.


Learn to print Indexed Array using foreach loop. Click the link below:


Stay tuned to learn more. If you like my video, do share it and give it a thumbs up.