We are using the getXml function for export the XML file.While Using the below code with multidimensional Array, getting the error Array To String conversion and file is not getting exported
Code :
$report = new MyReport;
echo $report->run()->getXml();
Sample Array
Array
(
[0] => Array
(
[id] => 89
[full_company_name] => dell
[abbreviated_company_name] => ABC Testing
[group_name] =>
[full_address] => Add 4
[building_name] => test
[json_data] => Array
(
[0] => Array
(
[client_id] => 7562
[test_data] => Array
(
[0] => Array
(
[TEST] => Array
(
[0] => Array
(
[cuum] => 40
)
)
)
)
)
)
)