create two dimensional array from two single dimensional array

by kalai 2010-01-23 18:44:25

$data[0] ="["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
"Sep", "Oct", "Nov", "Dec"];

$data[1]=[23, 5, 2, 20, 11, 33, 7, 31, 77, 18, 65, 52];
print $data[0][0];
print $data[0][4];

Result:
Jan
May

Tagged in:

1186
like
0
dislike
0
mail
flag

You must LOGIN to add comments