secretsquirrel
Programmer
hi,
i've got a url with a load of parameters on the end of it. i want to be able to retrieve one of those parameters and display something different in the page depending on it's value.
i'll write some pseudo code to explain what i'm on about:
the url is something like this (with different values for 'area')...
and i basically want to be able to do the following...
problem is i have no idea how to access the parameter 'area'
can anyone point me in the right direction?
thanks in advance,
ss...
i've got a url with a load of parameters on the end of it. i want to be able to retrieve one of those parameters and display something different in the page depending on it's value.
i'll write some pseudo code to explain what i'm on about:
the url is something like this (with different values for 'area')...
Code:
[URL unfurl="true"]http://blah[/URL] blah blah/page?lang=AEN&country=AUS&area=123
and i basically want to be able to do the following...
Code:
if(area == "123")
{
display something
} else {
display something else
}
problem is i have no idea how to access the parameter 'area'
can anyone point me in the right direction?
thanks in advance,
ss...