artacus Posted January 24, 2007 Share Posted January 24, 2007 I want to take a result set and convert it to xml. It seems like a pretty basic thing but I couldn't find anything on pear/pecl. So before I reinvent the wheel, is there something that already does this? Link to comment https://forums.phpfreaks.com/topic/35474-db-resultset-to-xml/ Share on other sites More sharing options...
Hypnos Posted January 24, 2007 Share Posted January 24, 2007 This will do the XML side:http://www.sitepoint.com/article/xml-php-pear-xml_serializerI only skimed over it, but if you build the array right, it should work.I also found this:http://www.phpclasses.org/browse/package/782.html Link to comment https://forums.phpfreaks.com/topic/35474-db-resultset-to-xml/#findComment-167889 Share on other sites More sharing options...
artacus Posted January 24, 2007 Author Share Posted January 24, 2007 Ok, not exactly the way I had thought about doing it, but xml_serializer will do what I want. Thanks bro! Link to comment https://forums.phpfreaks.com/topic/35474-db-resultset-to-xml/#findComment-168227 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.