I tried both methods and came up with some conclusion:
code:
if( $_POST['ok_btn'] == '1' )
header( 'refresh: 0; url=http://www.example.net' );
I need to click the button twice to get "the refresh effect."
Can you explain this to me?
code:
if( $_POST['ok_btn'] == '1' )
header("Location: page.php");
This has the closest result I want.
However, both methods don't really do "refresh" instead they redirect users to the URL in the link.
So, I click "Back" button on my browser, it goes to the page before the change was made.
I hope you understand what I mean
Thanks again.