PHP has historically had a feature that adds backslashes in front of quote marks for all text transmitted through GET/POST/COOKIE. This would take text like this:
this text has some "quotes" in it
and escape the quotes by preceding them with a backslash:
this text has some \"quotes\" in it
I don't recall the reason for doing this but I believe it had something to do with preparing the text for insertion in a database or data file.
This behavior has been deprecated meaning that it's considered a no-no to use it any more. In particular, it sounds like your script uses the function [man]set_magic_quotes_runtime[/man] which has been deprecated.
To fix this problem, you can edit your script to not use any magic_quotes related functionality or you can sweep the problem under the rug by setting [man]error_reporting[/man] to suppress deprecation notices.