I need to have a variable in my "header / Location" link. It should get the info from the link:
PHP Code:
I have treid this:
PHP Code:
header("Location: galleries.php?folder=".$_ARRAY["folder"]."");
header("Location: galleries.php?folder=".$_GET["folder"]."");
header("Location: galleries.php?folder="<?=$array["folder"]?>");
header("Location: galleries.php?folder=".$array["folder"]);
header("Location: galleries.php?folder=$array['folder']");
But nothing Works. I need to use the below create the correct link:
PHP Code:
If I in the HTML codes make a link like:
PHP Code:
Then it’s working and calls the variable “folder”

Any suggestions how to do this?