Re: Opening a new window?

From: Date: Mon, 14 Apr 2003 04:54:46 +0000
Subject: Re: Opening a new window?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143721@lists.php.net to get a copy of this message
Can't do this with PHP. You need Javascript. PHP is already excuted by the time it reaches a browser (hence the server-side scripting) which mean it would technically be impossible to get PHP to open a new window. But javascript does it just fine. ODCS wrote:
I have a voting poll on my site. When the visitor votes I want a pop-up window to open to show the results. Is there a way I can do this from the same script. Everything I have read looks like a separate file needs to be called. In my script I am using $PHP_SELF in the form to update the votes and I just want to go from there to another function that will open a new window with the results. Thanks.


« previous php.general (#143721) next »