Jump to content

[SOLVED] Converting single quotes so they don't become "\'"


smc

Recommended Posts

Hello,

 

I've been ramming my head against a wall for a good half hour now. I have a private message system that a user types in things like User to recieve, subject, and the message. In the subject and message field, however, I am encountering a huge problem in a small way.

 

Whenever a user types ' the script, for whatever reason, makes it \'. But I can't get the to be converted back to the traditional '.

 

I've tried htmlspecialchars() and htmlentities with html_entity_decode but no luck.

 

Help!!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.