[eluser]NiconPhantom[/eluser]
Hi guys,
I plan to use something like
$this->load->dbutil();
$query3 = $this->front_menu->get_menu();
$config = array (
'root' => 'root',
'element' => 'element',
'newline' => "\n",
'tab' => "\t"
);
echo $this->dbutil->xml_from_result($query3, $config);
But my problem is that header row of query3 is serialized array. Is it possible to unserialize data for correct xml output? is it possible to use only header row in xml output?
At this time my output is:
<element>
<id>971</id>
<pid>0</pid>
<order>971</order>
<position>left</position>
<header>a:4:{s:2:"et";s:3:"Muu";s:2:"en";s:5:"Other";s:2:"ru";s:12:"Другое";s:2:"fi";s:4:"Muut";}</header>
<status>enabled</status>
<activation>1297548000</activation>
</element>
Thank you in advance,