hi everyone, I'm still having problems pulling images from database and inserting into mysql results. I am following the examples in "Handling File Uploads"...Any feedback would be appreciate...Thanks for everyone's help thus so far...especially Kevin....

After I submit a business entry with photo, this is my result:
"File stored successfully as C:\Uploads\965703422.gif."

However, when I query my database this is the file entry for my Business_Logo column:
"/tmp/php09"

Any pointers? I don't know what I am not doing correctly....
-------------------------------------------
This is my code:
------------------------------------------
<?php

if ($submit): // A new business has been listed
// using the form below.

$dbcnx = @mysql_connect(
"localhost", "xxxx", "xxxxx");
mysql_select_db("xxxxxxx");

$sql = "INSERT INTO Business SET " .
"Business_Name='$businessname', " .
"Category='$category', " .
"Subcategory='$subcategory', " .
"Neighborhood='$neighborhood', " .
"Business_Description='$businessdescription', " .

"Business_Logo='$uploadedfile',".
"Expiration_Date='$expirationdate'";
if (mysql_query($sql)) {
echo("<P>New Business Listing Added</P>");
} else {
echo("<P>Error Adding New Business Listing: " .
mysql_error() . "</P>");
}

if ("image/pjpeg" == $uploadedfile_type
or "image/gif" == $uploadedfile_type) {
// Handle the file...
} else {
echo("<P>Please submit a JPEG or GIF image file.\n");
}

// Pick a file extension
if ( "image/pjpeg" == $uploadedfile_type )
$extension = ".jpg";
else
$extension = ".gif";

// The complete path/filename
$filename = "C:\\Uploads\\" . time() .
$REMOTE_HOST . $extension;


// Copy the file
if (copy($uploadedfile, $filename)) {
echo("<P>File stored successfully as $filename.");
} else {
echo("<P>Could not save file as $filename!");
}





?>

<P><A HREF="<?php echo($PHP_SELF); ?>">
Add Another Business Listing</A></P>
<P><A HREF="authors.php">Return to Authors list</A></P>

<?php
else: // Allow The User To Enter A New Business Listing
?>

<FORM ACTION="<?php echo($PHP_SELF); ?>" METHOD=POST ENCTYPE="multipart/form-data">
<P>Enter Business Information:<BR>
Business Logo:<INPUT TYPE=FILE NAME="uploadedfile"><br>
Business Name:
<INPUT TYPE=TEXT NAME="businessname" SIZE=50 MAXLENGTH=100><BR>


<INPUT TYPE=SUBMIT NAME="submit" VALUE="SUBMIT"></P>
<INPUT TYPE=HIDDEN NAME=MAX_FILE_SIZE VALUE=1024>
</FORM>

<?php endif; ?>

</BODY>
</HTML>