<?php $arr=[["id"=>"001","name"=>"Hello","pict"=>"hello.jpg"],["id"=>"002","name"=>"Abc","pict"=>"abc.jpg"]]; foreach ($arr as &$a) { $a['link'] = 'uploads/' . $a['pict']; } print_r($arr);
You have javascript disabled. You will not be able to edit any code.