spawning new window with PHP

From: Date: Tue, 10 Jun 2003 15:18:54 +0000
Subject: spawning new window with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-150923@lists.php.net to get a copy of this message
I have a list of urls in a MySQL database and I use PHP to get them out. I need to spawn a new window and use one of those URLs as the location for the new window. Is there PHP code that can do this? Here is part of the javascript I currently use: <SCRIPT Language="JavaScript"> lastwin=window.open(); lastwin.location="http://www.google.com"; if (jsversion >= 1.2) { lastwin.moveTo(0,0); lastwin.resizeTo(screen.availWidth,screen.availHeight); lastwin.focus(); } this.window.resizeTo(600, 400); this.window.focus(); </script> if PHP can't do this, is there a way to create a variable in PHP that can be used in javascript? THanks, Amanda

« previous php.general (#150923) next »