I have a form including name,surname,age etc... If the user miss one of them,the form alerts the user that he/she missed a part but when they fill all of them and submits the form,The form submitted.but the problem is when you refresh page everytime the page submitted with the same datas.
$_POST['name'] = ""; $_POST['surname'] =""; $_POST['age'] = "";
after if the form values entered.
But nothing changes.if you refresh the page ,the form submitted everytime it refreshed.