Hi all,
I've had a good look around for the answer to my problem but I can't seem to find how to link these 2 things together simply.
Basically I want to upload a file to a directory on the server, no problems there. I also want to upload data about the file upload to a mySQL database so that I can then pull out the details, and a link to the file to download, on the appropriate page.
No real problems there either.
The problems is joining the 2 things together...
I mean I have a form with the fields name, file desc, etc. and the 'upload' field within the same form as I wanted the file to be uploaded to the upload directory and the details to be send to the mySQL db all at the same time (i.e. one submit button).
However only the details are sent to the db while the file is not uploaded.
Any ideas, pointers, URLs I can check out would be most appreciated.
I'm pretty new to this so I have tried to search the forums and the manual for a solution but can't seem to sort out this little problem.
Thanks again in advance!