Let explain it in plain English
When you redirect a page the POST data is not populated (not passed on to another page) , so a simple trick to clear the form fields after your data has been sent is to redirect to your original page . So let say you have two files
form.html and
process_form.php. Also say
form.html is a registration page that is used to send data (name, email, address etc) to
process_form.php to be processed.
You mentioned earlier that you want your form fields to be clear when you refresh, in other words you want your header to have no POST data after executing
process_form.php. You do that by placing the code below at the end of your
process_form.php code to free your header from POST data.
PHP:
header('Location:http://www.your_domain.com/form.html');