Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
PHP MySQL Tutorial-8- Multidimensional Arrays Part 2
6 Views • Apr 20, 2018
Description
Healthy Foods: Unhealthy Foods:
Salad Ice Cream
Vegetables Pizza
Pasta
To read an element from a two-dimensional array, you must first identify the index of the "row" and then identify the index of the "column." For example, the song "Angie" is in row 1, column 2, so it is identified as $foods[‘Healthy’][1]. Or $foods[‘Healthy’][2].
Remember that the first row is row 0 and the first column is column 0.
For accessing all elements of multidimensional array, we use for each construct.
Keywords & Tags
More from User
PHP MySQL Tutorial-8- Multidimensional Arrays Part 2
WEB Development Trainer
PHP MySQL Tutorial-8 _ Multidimensional Arrays Part 1
WEB Development Trainer
Web Development with PHP &MySQL Tutorial-7-Associative Array in PHP
WEB Development Trainer
Web Development with PHP &MySQL Tutorial-5-Index Arrays
WEB Development Trainer
Excel for Beginners-Tutorial-10-Flash Fill
WEB Development Trainer
Excel for Beginners Tutorial-10-Autofil
WEB Development Trainer
Related Videos
PHP Tutorial in Hindi-Urdu 15 - PHP Multidimensional Arrays, Array Length in PHP
Sharaj Khan
PHP and MySQL - Chapter 6 - PHP Variables and Arrays - PHP Loops
Eduonix Learning Solutions
PHP MySQL Tutorial-8 _ Multidimensional Arrays Part 1
WEB Development Trainer
PHP Tutorial in Hindi_Urdu-15 Multidimensional Arrays with Example
Iftikhar Thakur
PHP Tutorial in Hindi-Urdu 14-PHP Associative Arrays, Array Length in PHP
Sharaj Khan
32.Curso PHP MySQL. Arrays III. Arrays multidimesionales
Diego Perlaza