upload to file and save to database
hi every body
i need a solution for the following scenario.
i have a form which have
* user name
* user email address
* project name
* description of project
* upload a file(the project) .doc or .pdf
* summit button
all of the above are in the same form (html)
so i need to upload the upload data in a file called project and the rest of the information in the the database called projectdb.
i try to do the task using php but i can't upload the file in to the file and save the rest of information in to the database at the same time after cliking the summit button. so how can i do the task using php.
See the "How to upload images" 'sticky' post near the top of this forum. Most of it is applicable to the uploading of other file types as well.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)