Re: Urent please
| From: | Marcel Schindler | Date: | Mon, 08 Jul 2002 07:34:55 +0000 |
| Subject: | Re: Urent please | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20384@lists.php.net to get a copy of this message | ||
> maybe this is more a javescripy problem...but its related to my php code:
> how can i open a new window with javacript and pass to it php variables??
> thanks guys alot.
Pass the Variables via get.
<script language="javascript">
mywindow = window.open("foobar","myphpscript.php?var1=<?php echo $var1
?>&var2=<?php echo $var2?>");
</script>
HTH Marcel
--
http://www.trancefish.de