Can anyone explain why the last statement in the code below doesn't print a 5? I'm lost here.
I've tried the
with and without the third type-matching parameter, and the searched-for number in both quotes, and without.
Any help is appreciated.
Code:
<?
$test = array();
for($i = 0; $i < 10; $i++){
for($j = 0; $j < 10; $j++){
$test[$i][$j] = $i.$j;
}
}
$cell = array_search("55",$test[5]);
print '<BR>loc: '.$cell;
?>
I've tried the
Code:
array_search
Any help is appreciated.