How can I get the value from this array?

array(3) {
[1]=>
NULL
[2]=>
array(2) {
[123]=>
int(123)
[122]=>
int(0)
}
[3]=>
NULL
}

Comments

pbarnett’s picture

You haven't told us the name of the variable, but...

$varname[2][123] is 123
$varname[2][122] is 0

Does that help?

y.p’s picture

not rely, but I found it. thanks for your reply!