cseasy
09-14-2005, 07:02 PM
Guys,
I have a question regarding the urlencode/decode functions.
I have a page that allows users to submit a text block. I am encoding this before instering into the database. Then, when displaying back onto the page, i am decoding.
The problem I am having specifically (although I'm sure it will affect other characters) is with the ' character. If I add "don't", when decoding out, it reads "don\'t".
Is there a built-in funciton to correct these (or an alternative to urlencode/decode) or do I need to create my own clean-up function?
Thanks,
C.
I have a question regarding the urlencode/decode functions.
I have a page that allows users to submit a text block. I am encoding this before instering into the database. Then, when displaying back onto the page, i am decoding.
The problem I am having specifically (although I'm sure it will affect other characters) is with the ' character. If I add "don't", when decoding out, it reads "don\'t".
Is there a built-in funciton to correct these (or an alternative to urlencode/decode) or do I need to create my own clean-up function?
Thanks,
C.