El Director
New member
I have a PHP file that is a frameset. It uses an if statement to generate the top header and the frameset all in one file. The frameset uses src="<?= $PHP_SELF ?>?goal=top" for the top frame. If goal does not equal top, then it writes the frameset. If goal does equal top, then it writes the header code which is placed in the top frame. However, I have other variables now that I want to send through to the main page. When src="<?= $PHP_SELF ?>?goal=top" writes the header, I lose those parameters. I want them to pass through to the header as well as the frameset. Is there something similar to $PHP_SELF but that would be just the current full query string which I could add to ?goal=top ?
Solved it!
?goal=top&<? echo $_SERVER['QUERY_STRING'] ?>
Solved it!
?goal=top&<? echo $_SERVER['QUERY_STRING'] ?>