note 25083 added to function.ereg-replace
| From: | ahsamuel at hotmail dot com | Date: | Tue, 10 Sep 2002 09:18:04 +0000 |
| Subject: | note 25083 added to function.ereg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36431@lists.php.net to get a copy of this message | ||
hello there
i'm trying to replace a % in a string entered in a form used for password.
password = ereg_replace("%", "wrongpassword", $password);
doesn't seem to work.
what is wrong ?
thanks for your help
--
http://www.php.net/manual/en/function.ereg-replace.php
http://master.php.net/manage/user-notes.php?action=edit+25083
http://master.php.net/manage/user-notes.php?action=delete+25083
http://master.php.net/manage/user-notes.php?action=reject+25083