What's the best way to navigate to a page dynamically in PHP?
<p>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:</p>

<p>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.</p>

<p>I'm asking this question because I hear a lot of people say you shouldn't bounce people around using headers.</p>

<p>So what way is best, if not my solution, and what is the argument against using header('location:');? </p>

<p>Thanks</p>
