All my code is working, except for this:
$code = "xxx";
$url = "https://xxxx.com/index.php?code=$code";
location("$url");
It just refreshes the page. I also tried:
header('location: https://xxxr.com/index.php?code=$code');
It works, but does NOT pass the var…
Help please!