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?

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

yes
like this:

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

yes
like this:

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

Thanks

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

solved???

make this thread solved......

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.