Help - Search - Member List - Calendar
Full Version: library to wrap mysql result set in xml / web service
WorkTheWeb Forums > Webmaster Resources > PHP Help
Support our Sponsors!
Hello,
Can somebody please reccommend a good library that will wrap a mysql
query result set in xml tags, or better yet a web service?

I would like to do this in php. my php will connect to the database,
get the resultset, then i would pass the resultset to the library which
will put in web service form, or at least a xml string.

Oli Filth
[Email Removed] said the following on 12/06/2005 22:44:
QUOTE
Hello,
Can somebody please reccommend a good library that will wrap a mysql
query result set in xml tags

That's hardly worthy of a whole library! You can do that in about 5
lines of PHP, I would think.

* Get MySQL result

* For each row, take each field, wrap its contents in tags with its
field-name.

* Wrap each row in <row></row>, or something similar.


--
Oli

Right, I am asking if their is a library that does that, and much more.
I was hoping that there would be some kind of package that can take a
mysql results array and turn it into a web service super easily.


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.