<?php $tmp = ""; $array = array(json_decode('{"id":"1","name":"GERRY"}'),json_decode('{"id":"3","name":"IDA"}')); foreach ($array as $arr) { $tmp .= $arr["id"]; } echo $tmp; ?>
You have javascript disabled. You will not be able to edit any code.