RE: [PHP-WIN] Javascript
| From: | Fernando Madruga | Date: | Thu, 29 Mar 2001 16:08:12 +0000 |
| Subject: | RE: [PHP-WIN] Javascript | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6373@lists.php.net to get a copy of this message | ||
Have you tried the string concatenation operator?
e.g.:
msgWindow=window.open( "ContentsWindow.php3?ID=" . IDent,
"displayWindow","menubar=no,width=500,height=300")
I don't know if it's '.' or '&' or whatever: just check your docs
on
javascript and look for string concatenation.
HTH,
Madruga
The IDent that is passed into the funtion is an integer, and that bit is
fine, but how do I dereference it in the querystring so that what gets
passed to the new window is along the lines of (say the value of IDent
is 6)
ContentsWindow.php3?ID=6
Thanks
Tom