PHP question

This is probably a simple question for a PHP guru, but I couldn’t find the answer to my question using Google.

Anyways, here’s the deal:

The idea is that the user can modify the pages of his flash-site using a very simple PHP thingy I made. His flash website imports HTML from TXT-files.
The problem I’m having is that PHP adds backslashes here and there in the HTML code, which flash cannot read. So now, I’m trying to remove all the backslashes from the string before updating the TXT-file.

str_replace("\","",$string);

^ That didn’t work. Any ideas? Pretty please? :slight_smile:

Thanks in advance!