Escape them by *adding* a backslash:
C:\\Documents and Settings\\blah\\blah blah
Use mysql_real_escape_string() function clean strings of SQL syntax before inserting them into my database.
check your table, if you are storing URLs, you will probably want to use something like varchar (50)
You may be using a table that doesn’t accept those characters.
Use these three Php functions:
addslashes, stripslashes and str_replace
Use stripslashes first ( “\\\” -> “\\” )
To remove escaped backslashes, use str_replace(”\\” ,”", $string);
Check viewing your table contents directly, then their output into a text on screen.