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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php