Let's say you did some change on your popup window (page2.php) if(isset($_POST['change'])) { # your "changes" code here # and, once you are finished you are going to execute the folloving html code ?> <html> <head> <script language="JavaScript"><!-- function close_redirect() { parent.opener.location='page1.php'; parent.close(); } //--></script> </head> <body onLoad="close_redirect()"> </body> </html> <?php exit; # with this exit you are not allow executing the rest of the code } popup (page2.php) will close and page1.php will be refreshed. -afan > What you need to do is close page2.htm with JavaScript (window.close) > And then page1.htm will be back. To make sure page1 will be back > You can reload it with onload=focus() in the <BODY>. > > Sincerely > > berber > > Visit the Weber Sites Today, > To see where PHP might take you tomorrow. > PHP code examples : http://www.weberdev.com > SEO Monitor : http://seo.weberdev.com > > > -----Original Message----- > From: William Stokes [mailto:kalles@xxxxxxxxxxxxx] > Sent: Wednesday, February 08, 2006 9:10 PM > To: php-general@xxxxxxxxxxxxx > Subject: Re: target? > > I mean. > > If I open popup named page2.htm from page1.htm with target="_blank" can I > go > back to page1.htm with target="_parent"? > > -W > > > > "Jay Blanchard" <jay.blanchard@xxxxxxxxxxx> kirjoitti > viestissä:0CEC8258A6E4D611BE5400306E1CC92709B2A6D6@xxxxxxxxxxxxxxxxxx >> [snip] >> Is target="_parent" opposite to target="_blank"? >> [/snip] >> >> Opposite? no. Not alike? yes. > > -- > PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: > http://www.php.net/unsub.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php