Рет қаралды 5,899
In this video we are going to learn about what is array in php? | what are types are there | what is index array | what is associative array | what is multi dimensional array in php tamil | how to print array values in php tamil | how to set key and values in array tamil php | how to get and print array elements in php tamil | how to print two dimensional array value in php.
What is array?
If a variable can have multiple values is called array which may be any type of elements.
1.Index array
Index array stores all the values with the starting index 0,1,2,3,..etc
2. Associative array
An array have the value with our own index that is called key which may be number or string.
3. Multi dimensional Array
An array have multiple array instead of elements is called multi dimensional array.
if we want to print the array then we can use print_r() function to print all the array elements.