Remove parameter from link
Posted
by
goordis
on Stack Overflow
See other posts from Stack Overflow
or by goordis
Published on 2013-07-02T10:28:36Z
Indexed on
2013/07/02
11:05 UTC
Read the original article
Hit count: 146
I have many links with parameter number - value is numbers between 1-1000
http://mysite.com?one=2&two=4&number=2
http://mysite.com?one=2&two=4&four=4&number=124
http://mysite.com?one=2&three=4&number=9
http://mysite.com?two=4&number=242
http://mysite.com?one=2&two=4&number=52
How can i remove from this parameter and value with PHP? I would like receive:
http://mysite.com?one=2&two=4
http://mysite.com?one=2&two=4&four=4
http://mysite.com?one=2&three=4
http://mysite.com?two=4
http://mysite.com?one=2&two=4
© Stack Overflow or respective owner