-
Backslashes Added When Using Apostrophes
I am getting unwanted backslashes added into my php email form results whenever someone uses an apostrophe. Here is an example of the results:
Name:
Frank\'s
Town:
Manchester\'s
Message:
Test\'s
I put in the apostrophe, but not the backslash. Anyone ever come across this? Thank you.
-
Yes this is a standard PHP feature. When you retrieve use stripslashes.
Moved to normal PHP.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks