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