Date Added: 14/01/2015


$array = array(

array( Title => "rose",
 Price => 1.25,
 Number => 15
 ),
 array( Title => "daisy",
 Price => 0.75,
 Number => 25,
 ),
 array( Title => "orchid",
 Price => 1.15,
 Number => 7
 )

 );

$str=implode(',', array_map( function($subarr){return $subarr["Number"];},$array));

ootput : 15,25,7     -----

Last Update: Posted by: müslüm ÇEN
Not Commented Yet !
Please login in order to comment . Login