note 28056 rejected from function.eregi-replace by victor
| From: | victor@php.net | Date: | Tue, 31 Dec 2002 10:29:40 +0000 |
| Subject: | note 28056 rejected from function.eregi-replace by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41508@lists.php.net to get a copy of this message | ||
how can i replace the string \" or \' with " and ' ?
i tried this, but it doesn't work:
$text = eregi_replace("\'","'",$text);
$text = eregi_replace("\"",""",$text);
can anyone help me?