I am trying to pass variables from a form to a website page. Here is the guide that I am following: http://ift.tt/2de3VKh
Here is the code on my redirect.php page:
<?php
$answers = $_POST;
$url1 = "http://ift.tt/1vAU1P2";
$var1 = "?user_email =".urlencode($answers[user_email]);
$var2 = "&input_63 =".urlencode($answers[input_63]);
$var3 = "&input_64 =".urlencode($answers[input_64]);
$var4 = "&input_65 =".urlencode($answers[input_65]);
$var5 = "&input_66 =".urlencode($answers[input_66]);
$var6 = "&input_67 =".urlencode($answers[input_67]);
$var7 = "&input_68 =".urlencode($answers[input_68]);
$var8 = "&input_69 =".urlencode($answers[input_69]);
$var9 = "&input_70 =".urlencode($answers[input_71]);
$var10 = "&input_71 =".urlencode($answers[input_71]);
$var11 = "&input_55 =".urlencode($answers[input_55]);
$var12 = "&input_56 =".urlencode($answers[input_56]);
$var13 = "&input_57 =".urlencode($answers[input_57]);
$url2=$url1.$var1.$var2.$var3.$var4.$var5.$var6.$var7.$var8.$var9.$var10.$var11.$var12.$var13;
header("location:$url2");
?>
The variables show up on the page as ' '.
I have no clue what to do and help would be greatly appreciated.
Aucun commentaire:
Enregistrer un commentaire