Hi, > I was wondering if there is a way to use the header function in php to > redirect the browser's output to a different frame. > > Specifically, I have a form on frame A which has two submit buttons. I > would like one to submit the data in the form to a page which will load > in frame A, and the other to submit the data to the same page which will > load in frame B.
in your <form> tag, you can put target=framename, example: <form method=post name=framename action=file.php target=framethree> Anything submitted from that frame will target the specified frame. No fancy PHP needed, unless you want to make the target dynamic. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php