AJAX database access in PHP. The simplest way
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.
开发者_C百科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
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
精彩评论