I have an if statement that if true, it forwards the user to a help page...

On that help page i have

<form action="../<?php echo '$backtopage';?>">
<input type="submit">

The page they originally came from is now 2 pages back.

2 pages back i have something like:
<input type="hidden" name="backtopage" value="../complexquery.php">

this form goes to another page which has that IF statement and if the statement is true, it forwards the user to the help page....

The variable $backtopage forwards fine to the second page with the IF statement...
How can i make it go to the help page?