hi,
in a project i try to work with multidimensional Arrays like this sample below
$genre = array(“Stamps”,”Coins”);
$genre[0] = array(“International”,”National”);//Stamps
$genre[0][0] = array(“Spain”,”Italy”);//Stamps/International
$genre[0][1] = array(“1990″,”1995”);//Stamps/National
$genre[1] = array(“International”,”National”);//Coins
$genre[1][0] = array(“Spain”,”Italy”);//Coins/International
$genre[1][1] = array(“1990″,”1995”);//Coins/National
first question: is this construct possible
second question:how to read Data of first Dimension
The Data in the third dimension in this sample is:
$genre[0][0][0] = “Spain”;
but if i try to get the Data of the first or second Dimension:
$genre[0] the output is -> Array
whats the secret of working with arrays???