106
rated 0 times
[
108]
[
2]
/ answers: 1 / hits: 27840
/ 12 Years ago, thu, march 15, 2012, 12:00:00
Possible Duplicate:
How can I get a specific parameter from location.search?
I have a url like the following.
http://localhost/xxx.php?tPath=&pid=37
I want to get the pid=37 but by its name because on time the url is like above and then when page refreshed then the url becomes like the following.
http://localhost/xxx.php?tPath=&action=xxx&pid=37&value=13&fname=aaaa&fone=4321122
So I want to get the pid=37. It might be a function to which I pass the pid as a parameter and it returns its value.
How will I do this?
More From » url