I need to redirect users depending on their response to form input questions (it is a questionnaire and respondents don't have to answer all questions). What is the best way to do it? I have tried a redirect like this:
Where the GET array contains the next question page.
Is there an easier way than this?
Code:
<?php if ($q1 == "1") Header("Location: index.php?p=q01_02"); ?>
Is there an easier way than this?