Magic quotes is a feature found in PHP that when enabled automatically escapes any quotes. For example, if you had a variable that contained lot’s of “quotes” it’d be turned into lot's of "quotes".
If this feature is enabled and you want to disable it or remove any escape slashes, use the stripslashes command. For example, the code below would strip all slashes from the variable named $example.
$example = stripslashes($example)
Escape, Programming terms, Quote