I hope I can explain my problem good enough for you to understand and I don't think showing my code will help.
I have a form that submits to PHP_SELF. When the submit button is clicked, my script preforms the action perfectly, however, when the page (SELF) opens again, it doesn't refresh the data.
For example, the script recognizes that the submit button has been clicked and then a block of code is processed. However, when the page is redirected back to SELF, it is still thinking the button was clicked and runs the script again.
It's like it is not refreshing the page when it returns to SELF and displays old data although the script has processed the new data correctly.
Have I explained this clearly?
I appreciate your help. Thanks in advance.