I want to pass some information to another page using "header" but I also want to use a variable for the location, for example:

With a static URL in location:

```
header("Location: mypage.com?fname=$_POST['fname']&lname=$_POST['lname']");

```

I want to use a variable like so:

```
header("Location: $myVariable?fname=$_POST['fname']&lname=$_POST['lname']");

```

But I can't for the life of me get the syntax right, as shown above it will throw an error, any help is appreciated.

Tom