note 19215 added to function.ereg-replace
| From: | sbsaylors at yahoo dot com | Date: | Wed, 20 Feb 2002 03:19:06 +0000 |
| Subject: | note 19215 added to function.ereg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26820@lists.php.net to get a copy of this message | ||
Big problem for me was removing quotes and double quotes.
Here is the working example PHP4.10/iis5
$withoutquotes = ereg_replace("[\x27\x22]",'',trim($stringwithquotes));
--
http://www.php.net/manual/en/function.ereg-replace.php
http://master.php.net/manage/user-notes.php?action=edit+19215
http://master.php.net/manage/user-notes.php?action=delete+19215
http://master.php.net/manage/user-notes.php?action=reject+19215