You are here: Re: [PHP] function to remove all \" from a variable « PHP « IT news, forums, messages
Re: [PHP] function to remove all \" from a variable

Posted by Lars B. Jensen on 10/04/44 11:08

The manual to the rescue
http://jp2.php.net/stripslashes

--
Lars B. Jensen, Internet Architect

CareerCross Japan
Japan's premier online career resource for english speaking professionals

http://www.careercross.com

----- Original Message -----
From: "Tim Burgan" <email@timburgan.com>
To: "[php] PHP 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 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:
> str_replace('\"', '"', $_POST['FCKeditor1']);
>
> Tim
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация