raafet dhaouadi raafet dhaouadi - 1 month ago 8
JSON Question

how i can browse a JSON object

Array ( [0] => Array (
[0] => IMG_20161025_164836_461.jpg
[1] => IMG_20161025_164844_915.jpg )
[1] => Array (
[0] => IMG_20161025_164851_516.jpg
[1] => IMG_20161025_164908_240.jpg )
[2] => Array (
[0] => IMG_20161025_164917_414.jpg
[1] => IMG_20161025_164929_589.jpg )
)


how i can browse a JSON object

Answer

use foreach

foreach($arr as $element){
    echo $element[0];
    echo $element[1];
}
Comments