Re: popup window under php

From: Date: Thu, 04 Oct 2001 19:58:32 +0000
Subject: Re: popup window under php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69970@lists.php.net to get a copy of this message
tsawyer@telcom.lgb.cal.boeing.com (Tim Sawyer) wrote: > I want to open a popup window under php control. So lets say I have an > if statement which if true opens the window. > > if ($something) { > JavaScript:window.open("test.php",blah...); >} > > Guess I'm saying that I want to call a Javascript function without the > user clicking on anything. you need to put tha javascript in <script> tags and just echo it all in the if block. -- Henrik Hansen

« previous php.general (#69970) next »