Introduction to PHP Associative Arrays, PHP Data Structures, What are Associative Arrays Explained

Channel:
Subscribers:
7,760
Published on ● Video Link: https://www.youtube.com/watch?v=gwQXvoZ_TMg



Duration: 2:15
59 views
2


In this PHP programming tutorial, we take a look at Introduction to PHP Associative Arrays, PHP Data Structures, What are Associative Arrays Explained. In this lesson we learn that ordered arrays are good when the data we have lends itself to being collected into indexed (ordered) lists. Our data is able to be collected as well as organized in many ways. Associative Arrays are good when we want to store a bunch of information about a specific thing. The fundamental concept of computer science that we learn about is "the map". Maps help us be associating keys with values. A key is an integer or string that we are able to use to access a value (of any type). Like we can create an associative array called person with a key of "name" and value of "Jose Moreno". This will be much more understandable than trying to associate name with index 0. We are able to use the associated key to find our value which is much easier. We also find out that we have been working with a map since we started working with arrays. An ordered array in PHP is implemented as a map where the keys are index locations. They are the same thing, and we learn that we are able to assign meaningful keys to values (as opposed to indices) and these are what we call associative arrays. Thanks for watching Introduction to PHP Associative Arrays, PHP Data Structures, What are Associative Arrays Explained.




Other Videos By We Will Code


2022-05-27PS5 Tony Hawk Pro Skater 1 and 2 Gameplay, How To Reach 1 million Score Easy
2022-05-25Introduction to PHP and HTML, Understanding The Differences Between HTML and PHP Language, Learn PHP
2022-05-24PHP Associative Arrays Review, PHP Associative Array Explained, Codecademy Review Associative Arrays
2022-05-20How PHP Assign by Value Works, What is PHP Assign by Reference, Learn Assign by Value and Reference
2022-05-18PHP Joining Arrays with Union Operator, How to Join Arrays Using the Union Operator, PHP Join Arrays
2022-05-16PHP Associative Arrays Numerical Keys Explained, How Do Numerical Keys Work with Associative Arrays
2022-05-13Associative Arrays, Changing and Removing Elements in PHP, unset function to Remove key-value pairs
2022-05-11Accessing Elements in an Associative Array, Adding Elements in an Associative Array, Codecademy PHP
2022-05-10Printing Associative Arrays, How to Log Out an Associative Array, Use implode and print_r function
2022-05-09Learn PHP Associative Arrays Syntax, Understanding PHP Associative Arrays, Key Value Pairs, PHP Maps
2022-05-08Introduction to PHP Associative Arrays, PHP Data Structures, What are Associative Arrays Explained
2022-05-08Learn PHP, Ordered Arrays Review, Understanding PHP Ordered Arrays, Review of PHP Ordered Arrays
2022-05-08How to Access PHP Nested Arrays, Accessing Nested Arrays in PHP, Access Element in Nested Arrays PHP
2022-05-08PHP, Remove First Element of Array with array_shift, Add Element to Beginning of Array in PHP, Guide
2022-05-08New MacBook Pro 2022, New Apple MacBook Pro Unboxing, New MacBook Pro Reveal, Unified Memory, SSD
2022-05-06PHP, Add Element to End of Array, array_push Method, Remove Element in Array with array_pop Method
2022-05-06Add and Change Array Elements, Add Elements to An Array in PHP, Changing Elements in An Array in PHP
2022-05-06Accessing an Element in an Array with PHP, How to Access Value in an Array with PHP, Access Array
2022-05-05How Printing Arrays Works in PHP, implode function, print_r function in PHP, View Array Values, PHP
2022-05-05Creating Arrays with Short Syntax in PHP, Short Syntax Ordered Array Creation Short Syntax Array PHP
2022-05-05Creating Arrays with array Keyword in PHP, Learn How To Create PHP Arrays, Ordered Arrays in PHP



Tags:
Coding
Learn PHP
PHP
Programming
Server-side
back-end
code tutorial
tutorials