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); Quote Link to comment 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); Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.