note 36017 rejected from function.ereg-replace by betz

From: Date: Tue, 23 Sep 2003 08:47:23 +0000
Subject: note 36017 rejected from function.ereg-replace by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56940@lists.php.net to get a copy of this message
Note Submitter: ---- 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.

« previous php.notes (#56940) next »