In my PHP script (very basic) everytime an apostrophe is entered, when displayed a \ appears before it automatically, is there any way to fix this so it won't happen?
Chris
The views expressed on this page by users and staff are their own, not those of NamePros.
I can't say what it would do without seeing the code itself. Are you pulling values from a database? You're welcome to post the code or a snippet here.
Ah, I managed to get it working, it was to stop it happening in submitted comments, I just added $comments=stripslashes($comments); and it worked, cheers buddy!