1. Create PHP page that loads the variables from the data base and echos them on the page like so:
echo "TheTitle=".$row['title'];
2. In flash
loadVariables("http://localhost/test.php", this, "GET");
You NEED to have "varname=" in the echo because when flash reads the page and encounters a line like that, it sets the variable "varname" in the SWF to whatever it is set to on the page. So, for example
PHP:
<?PHP
Echo "TheTitle=Test";
?>
Then using loadvariables, the SWF will set the variable (variable in the SWF) "TheTitle" to "Test".
Let me know if it works.