I have a URL with sometimes multiple conditions in them. for example
index.php index.php?A=ABC index.php?A=ABC&B=ABC
What I want to be able to do is remove one of these conditions, say in example 3 I want to remove condion A=ABC - how can I do this?
RTFM [man]parse_url[/man] [man]urldecode[/man] And related functions listed on those pages.
You may find [man]parse_str/man to be useful, too.