[PHP] function to remove all \ from a variable

2005-02-15 Thread Tim Burgan
Hello, I'm using FCKeditor to edit content on my site. But the content it produces escapes all the (double quote) characters from my HTML, and replaces it with \ (backslash-double quote). Is the a function that I can use to change it back? Does str_replace() do it.. if so is this how I use it:

Re: [PHP] function to remove all \ from a variable

2005-02-15 Thread Lars B. Jensen
General List php-general@lists.php.net Sent: Wednesday, February 16, 2005 11:22 AM Subject: [PHP] function to remove all \ from a variable Hello, I'm using FCKeditor to edit content on my site. But the content it produces escapes all the (double quote) characters from my HTML, and replaces

Re: [PHP] function to remove all \ from a variable

2005-02-15 Thread Tim Burgan
Sorry for clogging up you mail box. Yes.. str_replace('\', '', $_POST['FCKeditor1']) works. I must've needed to think through my thoughts by typing it out. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php