If we would like to pass values througn a form or an URL then we need to encode and to decode them using htmlspecialchars() and urlencode(). code example
Example: php encode url parameters
urlencode("query string params");
urlencode("query string params");