OOPS i didnt put all the script in.. repost..
I have a signup page with a frameset. The left frame is merely a grid for aesthetics, and the right is the signup content. if you move onto step 2, and refresh the whole browser, it goes back to step 1, and this is a piss off.
So, each page (except step1) loaded in the right frame has this variable created (with an example value):
<? $currentpage = "step2.php" ?>
On the frameset page that loads the 2 frames, i put a php script that goes like this:
<? if ($currentpage == '') { ?>
<frame name="main" src="signup.php">
<? }else{ ?>
<frame name="main" src="<?$currentpage?>">
<? } ?>
But I can't seem to pass the variable from the main frame, to the parent frame. How do I do this?
Thanks in advance