Help with tutorial Intro to PHP, MySQL and Flash

Hi

Not sure what I am doing wrong,

I did the tutorial and tried to access the swf from localhost

It comes up with the following in the dynamic text field

_level0.content.content

I have set up the database and table and here is my read.php file

<?php
//read.php
//prints contents of content column where filename = $file

include (‘db.php’);

if($file) {
$link = mysql_connect($connection)
or die("<b>error</b>: failed to connect to database");

$query = “SELECT content FROM files WHERE filename=’$file’”;
$result = mysql_query($query)
or die("<b>error</b>: failed to execute query <i>$query</i>");

mysql_close($link);

$desiredContent = mysql_fetch_array($result, MYSQL_ASSOC);

mysql_free_result($result);

print “content=$desiredContent[content]”;
?>

Any ideas