sungpeng Posted July 8, 2009 Share Posted July 8, 2009 $result = mysql_query("SELECT * FROM track" ) or die ("Query failed"); echo "<?xml version=\"1.0\"?>\n"; echo "<products>\n"; while($row = mysql_fetch_array($result)){ echo "<item>".$row[name]."</item>\n"; } echo "</products>\n"; test21.php theXML.load("http://www.test.com/test21.php"); theXML.ignoreWhite=true; nameArray = Array($row[name]); in flash Pls help, I need the "Array($row[name]);" to be flash nameArray=Array("firstname","secondname","thirdname",etc); Link to comment https://forums.phpfreaks.com/topic/165146-php-to-flash-array/ Share on other sites More sharing options...
sungpeng Posted July 8, 2009 Author Share Posted July 8, 2009 Maybe the answer lay in how to make $row[name] into array in php then load into flash, nameArray = Array($row[name]); Result nameArray=Array("firstname","secondname","thirdname",etc); Link to comment https://forums.phpfreaks.com/topic/165146-php-to-flash-array/#findComment-870811 Share on other sites More sharing options...
sungpeng Posted July 8, 2009 Author Share Posted July 8, 2009 Can anyone help to give me some good web for me to study php with flash? Hardly find anything useful online search for beginner. Link to comment https://forums.phpfreaks.com/topic/165146-php-to-flash-array/#findComment-871094 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.