PHP offers two functions that are very useful for us in generating or modifying a link: parse_str – automatically converts all query parameters into an array http_build_query – generates a URL-encoded query string from the associative (or indexed) array Below is a function that can help you add, delete or modify a parameter in a […]
