Please show some code which explains the problem.

You dont have to show us all your code, just your form and the PHP form handler.