jeudi 29 septembre 2016

Redirecting php variables to new webpage + use

Here is my code below(php):

$answers = $_POST;

  $url1 = "http://ift.tt/Aj7gSh";

  $var1 = 12;  
  $var2 = 12;  
  $var3 = 8;  
  $var4 = 10;  
  $var5 = 4;  
  $var6 = 2;  
  $var7 = 1;  
  $var8 = 6;  
  $var9 = 12;   
  $var10 = 10;   
  $url2 = $url1.$var1.$var2.$var3.$var4.$var5.$var6.$var7.$var8.$var9.$var10;

  header("location:$url2");


The users will click this site and they will be redirected to another page. I am trying to get these variables to be transfered to the other page. It is currently displaying the variable as ' ' . Any help would be greatly appreciated:)




Aucun commentaire:

Enregistrer un commentaire