I have an multidimensional array in which I want a specific value. For example I have an array for images like that:
[img_id] => 19, [crdate] => 0000-00-00 00:00:00, [path] => /Media/19987245_10213822143447913_772090576_n.png,[tags] => funny
I want to echo the path of the image with the img_id = 3
.
I thought something like
echo $array[$img_id -> 3]->$path;