if i'm accessing an index like that
$var = $final_Length_Array[1][0]['id'];
how to check whether the "id" key index exist in the array or not.
i tried to use function array_key_exists but it seems to be working only on one dimension array.
i tried it like if(array_key_exists('id',$final_Length_Array)){ but it didn't work
i also tried isset to check whether there is a result or not but it didn't work also if(isset($final_Length_Array[1][0]['id'])){
any help i'll be appreciate it
[ { "name": "John Doe", "year": "1st", "curriculum": "Arts" } ][1]."list", [ { "name": "John Doe", "year": "1st", "curriculum": "Arts" } ]so "1" means the first array in listisset) works. I cannot reproduce your problem.