A question about XML and PHP |
[eluser]Lovecannon[/eluser]
Well I have a question, theres SimpleXML for XML to Object conversion, but is there any libraries for converting a PHP object to XML? I loved that feature in Java, but PHP has always been my love, and Id like to be able to in PHP, is there any pre-made libraries to do this?
[eluser]Michael Wales[/eluser]
http://snipplr.com/view/3491/convert-php...-you-wish/ Designed for arrays but should be easily modified to work with objects. Code: class ArrayToXML
[eluser]maadmac[/eluser]
@walesmd Hot damn, you're brilliant, you know that? |
Welcome Guest, Not a member yet? Register Sign In |