Forum Moderators: open
Ok Well I have this PHP file which is getting information from mysql database and turning it into XML:
***********
<?php
$link = mysql_connect("localhost","db","password");
mysql_select_db("db");
$query = 'SELECT * FROM table';
$result = mysql_query($query);
echo "<?xml version=\"1.0\"?>\n";
echo "<users>\n";
while($line = mysql_fetch_assoc($result)) {
echo "<user>" . $line["username"] . "</user>\n";
}
echo "</users>\n";
mysql_close($link);
?>
***********
And then I want to get that into the flash program so that I can display the username's. Well I'm using SWiSHmax to make my flash stuff and after turning the stuff into XML I don't really know where to go after that. So does anybody know where there's a tutorial or maybe you could help me.
Thanks in advance!