note 91907 added to function.ereg-replace
| From: | ecross at osu1 dot php dot net | Date: | Wed, 01 Jul 2009 08:43:37 +0000 |
| Subject: | note 91907 added to function.ereg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-157750@lists.php.net to get a copy of this message | ||
is it also possible to change multiple strings at once?
all strings this have to change:
free -> 0
harry -> 1
piet -> 2
.............
............
this should take the following strings:
$_GET['string1'], $_GET['string2'], $_GET['string3']
thanks in advance
----
Server IP: 69.147.83.197
Probable Submitter: 84.81.68.86
----
Manual Page -- http://www.php.net/manual/en/function.ereg-replace.php
Edit -- https://master.php.net/note/edit/91907
Del: integrated -- https://master.php.net/note/delete/91907/integrated
Del: useless -- https://master.php.net/note/delete/91907/useless
Del: bad code -- https://master.php.net/note/delete/91907/bad+code
Del: spam -- https://master.php.net/note/delete/91907/spam
Del: non-english -- https://master.php.net/note/delete/91907/non-english
Del: in docs -- https://master.php.net/note/delete/91907/in+docs
Del: other reasons-- https://master.php.net/note/delete/91907
Reject -- https://master.php.net/note/reject/91907
Search -- https://master.php.net/manage/user-notes.php