redirect

[insert_php]
$answers = $_POST;
$url1 = “https://form.jotformeu.com/61812071007343”; // This is the URL address of the Form

$var1 = “?agencyfirst=”.urlencode($answers[agencyfirst]);
$var2 = “&agencylast=”.urlencode($answers[agencylast]);
$var3 = “&agencyemail=”.urlencode($answers[agencyemail]);
$var4 = “&agency=”.urlencode($answers[agency]);
$var5 = “&agencydetails=”.urlencode($answers[agencydetails]);
$var6 = “&agencyphone=”.urlencode($answers[agencyphone]);
$url2 = $url1.$var1.$var2.$var3.$var4.$var5.$var6;
header(“location:$url2”);
[/insert_php]