I\'m wondering why php adds a backslash when i remove double quotes.
You possible have bad magic quotes turned on. If that's the case, you should simply disable them from php.ini.