# Proof read please to close to find error

**URL:** <https://forum.kirupa.com/t/proof-read-please-to-close-to-find-error/7477>\
**Category:** Uncategorized\
**Created:** [October 31, 2002, 8:50pm UTC](https://forum.kirupa.com/t/proof-read-please-to-close-to-find-error/7477 "2002-10-31T20:50:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sport](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@sport](https://forum.kirupa.com/u/sport)\
**Post date:** [October 31, 2002, 8:50pm UTC](https://forum.kirupa.com/t/proof-read-please-to-close-to-find-error/7477/1 "2002-10-31T20:50:07Z")

</div>

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”;

[//read.php](https://read.php)  
//prints contents of content column where filename = $file  
if($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”);

mysql\_close($link);

$desiredContent = mysql\_fetch\_array($result, MYSQL\_ASSOC);

mysql\_free\_result($result);

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

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 .  
thanks  
Sport.
