mySQL outputting XML
| From: | Chris Boget | Date: | Fri, 25 Mar 2005 15:37:06 +0000 |
| Subject: | mySQL outputting XML | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-211573@lists.php.net to get a copy of this message | ||
If you use the mysql command line tool, you can pass
the -X parameter so that all results will be returned in
XML format. Is there an easy way to do that in PHP
using the native mysql_*() functions w/o having to
manually generate the XML using the result set? Or
does anyone know if this is possible using PEAR? I
looked at the PEAR docs and it doesn't seem to be
possible but I could have missed something.
thnx,
Chris