Proof read Please cant find error
Ok I have been looking at this so long I need outside help to find the error. code listed below.
php_file named read.php
// Database details
$dbHost = “localhost”;
$dbUser = “root”;
$dbPass = “”;
$dbName = “files”;
//prints contents of content column where filename = $file
$link = mysql_connect(dbHost, dbUser, dbpassword,dbName)
or die(“error: failed to connect to database”);
$query = “SELECT content FROM files WHERE filename=’$file’”;
$result = mysql_query($query)
or die(“error: failed to execute query $query”);
$desiredContent = mysql_fetch_array($result, MYSQL_ASSOC);
actionscript to use information from database read with the php file
loadVariables (“read.php?contact=$file”, this);
but when I run the flash swf I get No errors and as well I get No information on the screen ??
some where I have fat fingered something and I’m just to close to be able to see the woods as there are to many trees in the way .