Codice PHP:
switch ($typeadv)
{
case 1:
header("Location: pagina1");
break;
case 2:
header("Location: pagina2");
break;
default:
header("Location: $thankyou");
}
Codice PHP:
switch ($typeadv)
{
case 1:
header("Location: pagina1");
break;
case 2:
header("Location: pagina2");
break;
default:
header("Location: $thankyou");
}