View Single Post
Old 03-29-2007, 06:31 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,697
redhead is on a distinguished road
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.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote