For example, I have a form. Depending on the answers of the form, I want to take them to a different page on my site after submission. Here this is how I would think to do this assuming the action attribute of the form is submitted.php:
In submitted.php, do what the script needs to do based on the answers of the form, and then direct them by setting the header in php.
I'm asking this question because I hear a lot of people say you shouldn't bounce people around using headers.
So what way is best, if not my solution, and what is the argument against using header('location:');?
Thanks