note 36017 added to function.ereg-replace

From: Date: Tue, 23 Sep 2003 08:17:45 +0000
Subject: note 36017 added to function.ereg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-56936@lists.php.net to get a copy of this message
hello, sorry i have to stress you with a newbie problem. maybe i'ts the easiest prob in the world.....but.... i want to replace a point with an other sign.... $text = $var_anreise; echo "var_anreise original: $var_anreise<br>"; $text = ereg_replace( ".", ",", $var_anreise ); echo "var_anreise replace: $text<br>"; but the print look like this: ,,,,,,, whats wrong?? thanks for your support. ---- Manual Page -- http://www.php.net/manual/en/function.ereg-replace.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36017 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36017&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36017&report=yes

« previous php.notes (#56936) next »