Home
Computer Fundamentals
Core PHP Tutorials
CCENT & CCNA Lessons
Technology News
Search
July 11, 2017
Core PHP: Associative Arrays (4.3)
Associative Arrays
Use the named keys to access the
array
's members.
$people = array("David"=>"27", "Amy"=>"21", "John"=>"42");
echo $people['Amy']; // Outputs 21"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment