Because Magic Quotes is enabled on your server, or you are finding out the hard way by seeing extra slashes () to on your page, you will want to disable this “feature”.
If you have access to your php.ini file, make sure that these three values are set to off:
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
Alternatively you can try adding this to your site’s .htaccess file:
php_flag magic_quotes_gpc Off
To verify whether Magic Quotes is enabled or not, in the admin panel go to Reports -> PHP Info and search for “magic_quotes_gpc”, “magic_quotes_runtime” and “magic_quotes_sybase”, and check that their values are Off.
More detail you can refer to this link