PHP-Javascript
| From: | vipin chandran | Date: | Wed, 23 May 2001 06:11:06 +0000 |
| Subject: | PHP-Javascript | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9561@lists.php.net to get a copy of this message | ||
Hi,
Is there any method by which I can attach a javascript variable to a
query string.See the following..
<script language="javascript">
var id;
uid = prompt("Enter your ID","Your ID");
</script>
<?
print header("Location: index.php?id=".<this is where I should have
the js variable uid>);
?>
Please solve this.
Thanx.
vipin chandran
whoosh_vc@postmark.net