tags:

views:

45

answers:

1

I'm looking for the simplest possible solution to get mysql database records as XML output using PHP. That means no third party APIs. Just pure php code and as little of it as possible.

I posted a similar article for c# in my blog and im looking for an equivalent that will work on any hosting company.

Here is the link (i couldn't add tag from my iphone) http://desalasworks.com/ajax-database-access-in-c-sharp-the-simple-way/

Thanks in advance. Steven

A: 

Have a look at this for one solution:

http://www.kirupa.com/web/mysql_xml_php.htm

Or to utilise PHP5 specific functionality:

http://www.tonymarston.net/php-mysql/dom.html

Ergo Summary
Thanks Ergo, the php5 solution works for me.
Steven de Salas
A pleasure, glad it worked out :)
Ergo Summary