Re: mySQL Results To XML
| From: | mike | Date: | Sat, 06 Oct 2007 20:17:58 +0000 |
| Subject: | Re: mySQL Results To XML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262878@lists.php.net to get a copy of this message | ||
On 10/6/07, CK <jobs@bushidodeep.com> wrote:
> Hi,
>
>
> Here's the mission, creating a movie DB, I need the results returned
> from mySQL in an XML format for use with the FLASH Professional
> DataGrid. Any tips on formating mySQL results would be grand. Here's
> the structure of the DB, if needed.
you could easily just print the xml manually.
<dvd>
<titleID>foo</titleID>
<bar>etc</bar>
</dvd>
or, i believe mysql will return XML output but i'm not sure a PHP
function exists to do that.
no need to use fancy DOM functions, outputting XML is easy, parsing it
is when you need to use the special functions and such.