$isimler= "";
foreach($siparisler as $siparis ):
$isimler .= " ".$siparis["name"];
endforeach;
var_dump(trim($isimler));
Konu: Php foreach döngüsü
$isimler= "";
foreach($siparisler as $siparis ):
$isimler .= " ".$siparis["name"];
endforeach;
var_dump(trim($isimler));