I want to create a form in which i have some textfields and a field for a file upload. In the action i upload the file first, and then save the values from the textfields in my database.
For a file upload I need enctype="multipart/form-data" and then it works but the other things does not work. when i take the default enctype the data save works but the file upload failed.
What should I do?