Hi all, I am a newbie and apologize in advance for asking a stupid question.
My problem is that I'm trying to create webpage for people to contribute there mp3s.
I belive that the best way to do this is to upload the mp3s to a directory and store the file name to the database.
I've managed to figure out how to upload the mp3 using 'move_uploaded_file' and "copy" method. I've also figured out how to send the info to my database using the "insert" method. What I'm having real trouble with is combing the two. How do upload a file to a directory and then send its name to a database?
I have seen a lot of stuff on the forum about file paths but I can't seem to get them working.
Any help you could give would be great.
Thanks for reading,
moog69