php convert spaces to %20 code example Example: convert space to 20 php rawurlencode("Your message goes here");