http://snipplr.com/view/623/get-querystring-variable/

alert( getQueryVariable('location') );  // alerts "here"
alert( getQueryVariable('page') );  // alerts "5"

Is this what you want?

On Apr 20, 2:26 pm, budduke <b...@budduke.com> wrote:
> I looked through the board but can not find any info for what I am
> needing,
> for the persistant:location highlight, I need it to not look at the
> entire url string, just part of it.
> using php my links havehttp://www.myweb.com/good_link.php?location=here&page=5
> the string should only be looking for everything before the & symbol.
> I can not figure out how to do this.
> I know it is all happening in the case area of the script but can not
> figure out how to filter out everything from the & to the end of the
> string to compare with the url.
>
> thanks for any help you can send my way,
> Buddy Duke

Reply via email to