changing it to $_POST helped now i get the values: Array ( [agree] => yes [step1] => 1 [step] => 1 ) so they are stored and the switch is working just not liking
PHP Code:
switch (true)
{
case ($_POST['step1'] == 1 and $_POST['agree'] == 'yes'):
echo "almost";
header('Location: /signup.php?step=2');
echo "!!!!your here!!!!!";
break;
}
the redefinition of the header:
header('Location: /signup.php?step=2');
due to it already defined in the include