Re: [PHP-XML-DEV] Retrieving a MySQL recordset as XML

[email protected] (Kevin Waterson)
Newsgroups php.xml.dev
Organization Oceania
Message-ID <[email protected]>
This one time, at band camp, "Ian Williams" <[email protected]> wrote:

> Hello
> I want to write a function that will take any SQL query as a parameter, and
> generate XML that represents the recordset.

There is a simple class for this written my chegru, works well,

Take a look at
http://php.chregu.tv/sql2xml/

Kevin
-- 
 ______                              
(_____ \                             
 _____) )  ____   ____   ____   ____ 
|  ____/  / _  ) / _  | / ___) / _  )
| |      ( (/ / ( ( | |( (___ ( (/ / 
|_|       \____) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.