Getting rid of backslashes
I have a very simple program that, in its output, inserts a backslash before every apostrophe and before every quotation mark (whether single or double). For example: He will call you after he/'s finished the laundry. He said, /"The minute I/'m finished./"
I've read about this and I know it has to do with 'escaping'. And I've read about Magic Quotes and/or stripslashes() but I've never entirely understood either of those and never managed to get rid of these ^&&()^%% backslashes.
The relevant line of code seems to be: echo $row['notes'];
I'm using PHP 5.3.27 .
Do I just add stripslashes() somehow?
echo stripslashes($row['notes']); -- would that work? I have no idea what the proper syntax would be.