I am trying to generate an xml row but for some reason php is throwing me the following error
function get_galleryxml_row($row) {
$xml_output = '';
$images = $this->exporter->get_property_gallery_data($row['id']);
foreach($images as $field => $value)
$xml_output .= "\n\t\t" . "<$field>". $value ."</$field>";
return $xml_output;
}
[20-May-2015 16:13:17 UTC] PHP Notice: Array to string conversion in
What is the problem in my code and how can I solve it?