I just want a good example to follow of how to use php to add an image name or path to that image into a sql database. I'm using a form that uploads a picture among other things, I upload the image fine to a folder, but I want to add the link to the image into my database, nothing seems to work, help?
2007-03-12
18:00:32
·
3 answers
·
asked by
Daniel B
2
in
Computers & Internet
➔ Programming & Design
Maybe I'm just to new to this, but how do I get ahold of the file name itself from the form, and add that name into that database, along with the url. So every different row in the database would have the same url except for the filename
2007-03-12
19:29:16 ·
update #1
i figured it out, i was trying to .$_POST['$filename']. the value, i just took out the $_POST and set the value to $filename, thanks everyone for your help
2007-03-13
10:09:46 ·
update #2