简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM