How to print two dimension array into phpexcel -
array ( [0] => array ( [orderid] => 3 [qty] => 200 [dailyusedqty] => 10 [balqty] => 190 [createddate] => 2014-06-27 ) [1] => array ( [orderid] => 3 [qty] => 200 [dailyusedqty] => 20 [balqty] => 170 [createddate] => 2014-06-27 ) [2] => array ( [orderid] => 3 [qty] => 200 [dailyusedqty] => 50 [balqty] => 120 [createddate] => 2014-06-27 ) )
this array how can write array phpexcel
, m new in php , php excel.
use worksheet's fromarray() method
$objphpexcel->getactivesheet() ->fromarray($myarray);
Comments
Post a Comment