Just simple and dumb question.
I am working at a simple website using HTML and PHP.
Today I added the option to change your avatar and put the upload form in a table. I spent 5 minutes to create it, but then, about 5 hours trying to debug it, when suddenly, something hit me. I just copied and pasted the from out of the table, and everything worked as it should. But still, it doesn't work if my form in a table.
PS: When my form is in the table, the submit button just refreshes the page.
Can someone give me a logical reason for this?
EDIT: Ok, somebody requested code, but since somebody else answered my question - there was light. Thank you.