When I submit the Form it will not return to the same Tab in PHP

I have different tabs in my PHP page. I have each form in every tab. Now I want to submit the form. But when I submit the form it's going to the first Tab. I just want that it will remain on the same Tab from where it submit, but it's never. Please help me,
the code is given below...