want to check
I want the network address get to add up
for example, the existing network address is
region=abc&status=1
when I may enter another web address
I want him to add & xxx=1
but will not wash out the previous GET parameters
region=abc&status=1&xxx=1
No matter how many GET parameters are added before, but the duplicates are not added
so I don"t need to redefine the GET parameters.
as long as there are not the same parameters on the network address, add up
. What code can this code do?
check
, but if the network address does not have any parameters, then
it can automatically identify, that is, change to
xxx.php?xxx=xxx
instead of &
unless there is already ?
, it will be &