|
Posted by Henri on 12/17/05 14:17
Hello,
I'm building a photo gallery using flash as a front-end to a mysql
database. I use php to query the database.
I was wondering if it was possible to generate xml into a stream that
would be directly piped to flash.
See, normally one would use php to write an xml file that would then be
read by flash eg.
xmlData = new XML();
xmlData.load("query_results.xml")
what I want is this: xmlData.load("query.php") where query.php would be
something like
<?php
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>"
echo "<images>";
echo "<img_data>";
echo "<val title=\"$title\"/>
echo "<val path=\"$path\"/>
echo "</img_data>
echo "</images>
?>
Henri
--
The Dude once said,
"Yeah, well, you know, that's just, like, your opinion, man."
Navigation:
[Reply to this message]
|