PHP Plus sign being turned into space?

TheFuzzball

New member
Given that the plus symbol doesn't mean anything inside of quotes, (either double or single,) there is really no reason that PHP would be printing the string without the plus. Maybe pastebin your code so I can get a better idea of what you're doing. Otherwise:

echo 'HD Channel+';

works fine for me.
 
I have a string that is dynamically created in PHP. The string in the URL is 'HD Channel+' but when I echo back the value which should return 'HD Channel+' I only get 'Channel' without the plus sign. I have looked into urlencoding and urldecoding but have not found the answer yet since they either turn all spaces into + or all of the + into spaces. Does anyone know how to keep the plus sign attached without it being turned into a space?
 
Back
Top