Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial2 Answers
Hazem mosaad
15,384 PointsKEYS in array like your home address for example : $your_country = array("Miguel Nunez house ","another house");
if i want to go to your house first i must enter your country and then search about address (Keys) in this case will be (zero ) just organize data in specific way to get it back at any time
i hope this help :) Hazem
Dhavidy Luiz Mamede Pires
12,438 PointsCould you be more specific? If you are talking about arrays, they are organized in key, value pairs.
Miguel Nunez
3,266 PointsMiguel Nunez
3,266 PointsWould you say that a php key is a synonym of php value?
Hazem mosaad
15,384 PointsHazem mosaad
15,384 PointsYes to reach it's value imagine no key in array how you can get specific information if you have 1000 element inside the array you much give every element name or address (key) to reach it