Re: Open form in new window

From: Date: Wed, 06 Mar 2013 00:32:28 +0000
Subject: Re: Open form in new window
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-320414@lists.php.net to get a copy of this message
On Mar 4, 2013, at 12:54 PM, John Taylor-Johnston <John.Taylor-Johnston@cegepsherbrooke.qc.ca> wrote: > If you want to open a new page in response to a submit button press (using PHP) you may be out > of luck. I don't know of a way to do it without involving another language. Opening a different > page in the *same* window, yes. Otherwise, no. But watch the other replies. Maybe someone knows > something I don't. Paul > Nope. Out of luck. You mean opening a new page while keeping the current page open? Because clicking a form submit *can* open a new page as per the form's action="" attribute. If you want the current page to remain open while another page opens, then you'll need a javascript routine to do it. Cheers, tedd _____________________ tedd@sperling.com http://sperling.com

« previous php.general (#320414) next »