header (location, frame)? (load page in a frame on submit)
Posted: Wed Dec 15, 2004 11:26 am
Hi all
I have a form in a frame of a frame set, and on submit, I want a different page to load in another frame. I thought I should use the ususal header function, and add the frame target, like:
header ('location: myPage.php', 'rightframe');
But this is not working (althought "myPage.php" does load, but in the same frame as the form).
Somebody knows the solution?
Thanks...
I have a form in a frame of a frame set, and on submit, I want a different page to load in another frame. I thought I should use the ususal header function, and add the frame target, like:
header ('location: myPage.php', 'rightframe');
But this is not working (althought "myPage.php" does load, but in the same frame as the form).
Somebody knows the solution?
Thanks...