How to remove escape characters in php:
string stripslashes ( string $str )
Returns a string without escaped backslashes (' converted to ' , etc.). Double backslashes (\) are converted to single backslashes ().
stripslashes() is non-recursive. If you want to use this function with multidimensional arrays, you need to use a recursive function.