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