What I want to do is to upload a file to a specific directory as well as enter the data into a MySQL database.
The specified directory would be a value that has come from a previous select statement from the database.
So as an example, I would want a directory called Data/folder 1 and data/folder 2 ect ect. Its a bit difficult to explain really.
So would I need to already have the directories created or can I just create them from the value of the select statement on the fly then upload to the specified directory ?
Any help is much appreciated