Hello,
How to solve this problem: I have url with some variables, for example: www.someurl.com/index.php?var1=34&var2=OK&var3=Test. Now, I want to check if var2, and var3 are declered (becouse they can be not declered). If they are I want to change value of them and make new url with changed values of var2 and var3 (but var1 must be the same). If var2 and var3 aren't declered I want do declere them and make new url with specyfied values. Number of vars depends from some special factors (so in other words, I don't know how many variables will be declered and I don't know what will be order of them).
One more time:
url1: http://www.someurl.com/index.php?<b>var1=section1</b>&var2=87&var3=test&var4=phpbuilder
check variables, change values of specyfied vars (e.g. var1=section2) and make new url:
urlNEW: http://www.someurl.com/index.php?<B>var1=section2</B>&var2=87&var3=test&var4=phpbuilder
As you see all others vars are the same... only var1 was changed.