Re: Urent please
| From: | Adam Royle | Date: | Mon, 08 Jul 2002 09:26:38 +0000 |
| Subject: | Re: Urent please | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20388@lists.php.net to get a copy of this message | ||
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