i searched again and again but could not find the right answer. here is the situation. i got more than one forms in the same php file and below shows the code.
when i ec
Okay, there are a couple of things you need to be aware of.
1) You can have as many forms on a page as you want, but you can only submit one of them. You need to make sure the form you expect is being submitted. I'm assuming you're using the submit button names for doing this. However this can result in problems if someone submits the form by hitting enter in a text entry region, the button won't be submitted. A hidden field would be better as it would always be submitted.
2) There doesn't seem to be a MAX_FELE_SIZE form input anywhere in your file upload form. File uploading will not work without it. You need to put something like before the file inputs on your form.