Jump to content

bring the mysql php values into flash


hansolo
 Share

Recommended Posts

now i have the values of mysql table how do i bring these values into flash. Are there any vidoe tutorials . on this type of thing. <?php$host="localhost";$user="jonny";$pass="d587541";$db_name="databaseScores";$table="highscore";mysql_connect($host,$user,$pass);mysql_select_db($db_name);$query= mysql_query ("SELECT * FROM highScore ORDER BY score DESC LIMIT 8");while($row = mysql_fetch_array($query)) { $valueScore = $row['score']; $valuePlayer = $row['player']; echo $valuePlayer." ".$valueScore; }?>

Link to comment
Share on other sites

now i have the values of mysql table how do i bring these values into flash. Are there any vidoe tutorials . on this type of thing. <?php$host="localhost";$user="jonny";$pass="d587541";$db_name="databaseScores";$table="highscore";mysql_connect($host,$user,$pass);mysql_select_db($db_name);$query= mysql_query ("SELECT * FROM highScore ORDER BY score DESC LIMIT 8");while($row = mysql_fetch_array($query)) { $valueScore = $row['score']; $valuePlayer = $row['player']; echo $valuePlayer." ".$valueScore; }?>
with great difficulty lol Its hard to get these files cos you have to go from mysql and php back to flash.And there doesnt seem to be alot of information on this
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...