Oct
10
2008
0

ZCE Arrays: Associative Arrays

Associative Arrays are the same as Enumerative arrays except in the fact that they are not idexed by numbers (but can be) instead they are indexed by a name. If you read Enumerative arrays you will not that Ringo was indexed as 3, in an Associative array he would be indexed as “drummer”. Like such

$Beatles['drummber'] = "Ringo";
echo $Beatles['drummber']; //Will output Ringo

(more…)

Written by Adam in: 03. Arrays | Tags: , ,

WordPress Powered, Theme by TheBuckmaker.com | Add to Technorati Favorites. | RSS and Comments RSS