Flash movie:
loadVariables ("phpscript.php", "this", "POST");
get the data from mysql with the php script and print out the data in the following way:
echo "var1=$var1&var2=$var2&var3=$var3&etc"
these variables and values are now available in the mc where the piece of code is nested. Alternatively you can also send variables from this mc to the php script ("POST" or "GET") so you can control what the script exactly has to do.