note 12509 rejected from function.str-replace by philip

From: Date: Mon, 04 Feb 2002 12:46:32 +0000
Subject: note 12509 rejected from function.str-replace by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26212@lists.php.net to get a copy of this message
Whats wrong? $string has this value: <STRONG unselectable="off">Hello</STRONG> $parse_out=" unselectable=".chr(34)."off".chr(34); $string=ereg_replace($parse_out, "", $string); Doesn't work. If I set $parse_out to: $parse_out="Hello" I get the correct result: <STRONG unselectable="off"></STRONG> Any ideas?

« previous php.notes (#26212) next »