RE: [PHP-WIN] PHP & Javascript
| From: | Bill Bolte | Date: | Wed, 18 Apr 2007 13:09:34 +0000 |
| Subject: | RE: [PHP-WIN] PHP & Javascript | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27718@lists.php.net to get a copy of this message | ||
Google is your friend:
http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGG
L:2006-19,GGGL:en&q=javascript+querystring
-----Original Message-----
From: Alf Stockton [mailto:alf@stockton.co.za]
Sent: Wednesday, April 18, 2007 8:05 AM
To: php windows
Subject: [PHP-WIN] PHP & Javascript
Please suggest a way to pass the value contained in a PHP variable to
Javascript.
I have $ID with a certain value in PHP and want to do a Javascript
window.location="Another.php?UID="+2;
and replace the above hardcoded 2 with the value in $ID.
--
Regards,
Alf Stockton www.stockton.co.za
This night methinks is but the daylight sick.
-- William Shakespeare, "The Merchant of Venice"
My email disclaimer is available at www.stockton.co.za/disclaimer.html
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php