I am creating a content management administration tool for a client of mine. I have the ability to add new products to the products area. I have recently learned how to upload images to the site through a form. I am trying to make this process really easy. I've run into a problem.
The problem is that I want to include the file upload input boxes along with the data for the product in the same form (eg. name, code, description etc.). In order to read the uploaded files correctly I need to change the "enctype" of the form to "enctype=multipart/form-data".
When I do this however, the text from all the other fields get screwed up, and show up as blank. Is there a work around for this? Or do I have to use two different forms? Is there a way to send two forms at the same time and have them appear to the user as one form?
Any ideas??