Simply open the javascript window with a querystring..

so you have some like this in your javascript code:
window.open("somepage.php?var1=value1&var2=value2","theWindow","width=200,
height=300");

and if the variables are inside php... use something like this:
window.open("somepage.php?var1=<?= var1 ?>&var2=<?= var2 
?>","theWindow","width=200,height=300");

adam

> 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.
>
>
> Rehab M.Shouman


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

Reply via email to