I have been going through the forums for the past couple of hours trying to figure out something regarding the redirect.
agree={Test:5} $nonallergic) {
header("Location: http://-------allergic-rhinitis/");
break;
} else ($i == 2) {
header("Location: http://-------mixed/");
break;}
The issues I am having is in the initial "agree={Test:5}" case I can get agree=yes but even if I change the value of yes in the form to 1, I can not get agree=1
Also I am not sure if I can add the values together like I wish into 2 variables.
Finally I am not sure if I first require..
$allergic = $_GET['allergic'];
$nonallergic = $_GET['nonallergic'];
Any help is appreciated as this is my first time doing this...
Cheers