loading the text from database into flash with help of xml
everything works but its only the text, how could i load an image together with text?
this is the php code that i use to load the text:
[COLOR=Blue]
<?PHP
$link = mysql_connect(“localhost”,“lee”,“password”);
mysql_select_db(“brimelow_store”);
$query = ‘SELECT * FROM products’;
$results = mysql_query($query);
echo "<?xml version=“1.0”?>
";
echo "<products>
";
while($line = mysql_fetch_assoc($results)) {
echo “<item>” . $line[“product”] . "</item>
";
}
echo "</products>
";
mysql_close($link);
?>
[COLOR=Black]how could i load an image together with this text from mysql database?
any help would be really appreciated
[/COLOR] [/COLOR]