I've been trying for months to figure out how to get "for xml auto" queries
to work from PHP. I've got it working from ASP, which I strongly disprefer
(hate!).

I'd simply like to do:

$sql = "select * from customers for xml auto";
$xml = $mssql->execute($sql);
echo $xml

This should return:

<root>
   <customer id="1" name="Alfred Futt"/>
   <customer id="2" etc./>
</root>

Any help appreciated.

Daniel



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to