0

window.location.href = "updateReg.php?idValue=" + idValue;
in the above code, I pass just one value "idValue", can i Pass more than one value like this?

3
Contributors
5
Replies
6
Views
9 Years
Discussion Span
Last Post by Shanti C
0

hey,
you can pass as many variables as you like.. for example

page.php?var1=value1&var2=value2&var3=value3

this way you can access these variables on page.php
$_GET, $_GET and $_GET

0

yes
like this:

window.location.href='updateReg.php?idValue='+idValue+'&idValue2='+idValue2;

Thanks

0

hey,
you can pass as many variables as you like.. for example

page.php?var1=value1&var2=value2&var3=value3

this way you can access these variables on page.php
$_GET, $_GET and $_GET

Thanks

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.