Hi folks.

This is my first time working with mysql and php but so far all is going well.
I've created an input form for a bunch of info on a mysql table but now I want
my users to be able to upload an image.
naturally I want to use this on another php page later.
First though I'm not sure how to store it.
what I imagine is that the file gets put in a folder on the server and the the
database holds that path and filename.
but to do that I have to do 2 things at once.
1 put the file somewhere
2 put the the path and name into my table

I think I can fiqure out 1 but how can I do 2 as well.
btw I'm using dreamweaver 8, myphpadmin and mysql

Cheers