Take a closer look at your code:
Quote:
...
PHP Code:
$file = ("upload/" . $_FILES["file"]["name"]); ... mysql_query("INSERT INTO Images (path) VALUES('$file')");
...
PHP Code:
echo "<img src='upload/".$row['filename']."' alt='".htmlentities($row['caption'])."' title='".htmlentities($row['caption'])."'>";
...
|
Now look again and see if that dosn't ring a bell.