Tag Archives: php json decode null
Php json decode array example
Php json decode array example
Php json decode array example
$json = '["apple","orange","banana","mango"]'; $array = json_decode($json); foreach($array as $item){ echo $item."
"; }
which will produce the following result;
// apple
// orange
// banana
// mango