Hello, I have a bunch of text fields and when ever anyone enters in an apostrophe my output is e.g "Valentine/'s Day" and not "Valentines Day". I know its simple,.. >.< I forget how to escape it correctly. All help is appreciated. Thank You, -Tim
The apostrophe is actually escaped already. You want to unescape it. You can do that using stripslashes(). Or wait... do you want to remove the apostrophe? If that's the case, use str_replace().
ok you got me haha, I always add the "_" when I use it and realize it's wrong. Maybe I will learn one of these times. According to what he has up there it's a forward slash... I was kinda thinking the same thing but was too lazy to check.