Welcome Guest, Not a member yet? Register   Sign In
Change result object before use it at dbutil->xml_from_result
#1

[eluser]Unknown[/eluser]
hi
i use dbutil->xml_from_result() for generating an xml file. now i want to custome some fields before generating xml file.
for example i want to replace all fields with value of "0" with a string comes from site language file.
is it possible or i should use a third party xml exporter?
#2

[eluser]toopay[/eluser]
The method you refer, only accept query result instance. So you will need to use something like SimpleXML, and build the xml yourself, for more custom task(s).




Theme © iAndrew 2016 - Forum software by © MyBB