Couldn't you also do:

<a href="foobar.php?var1=1&var2=2" target="_blank">Link</a>

I think you can subsitute "Resource Window" for "_blank" and get the 
same effect.

HTH

Jason Soza

----- Original Message -----
From: Martin Towell <[EMAIL PROTECTED]>
Date: Tuesday, June 4, 2002 3:55 pm
Subject: RE: [PHP] Creating pop-up window and passing variable to it?

> <script>
> function myopen()
> {
>  window.open("foobar.html?var1=<?= $var1; ?>&var2=<?= $var2; ?>");
> }
> </script>
> click for new window
> 
> 
> -----Original Message-----
> From: Igor Portnoy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 9:52 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Creating pop-up window and passing variable to it?
> 
> 
> How can I create a pop up window in my index.php (for example) 
> when user
> clicks on the link and pass value of the variable from my 
> index.php to
> this new window?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to