I am trying to redirect to the same page with an additional querystring from an include file. Here is the code
Code: Select all
$location = "template1.php?pageid=". $_GETї"pageid"]. "&errnum=1";
header ("Location:". $location);Code: Select all
$location = $_SERVERї"PHP_SELF"]."?pageid=". $_GETї"pageid"]. "&errnum=1";
header ("Location:".$location);