note 25001 rejected from function.str-replace by betz

From: Date: Sat, 07 Sep 2002 15:09:09 +0000
Subject: note 25001 rejected from function.str-replace by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-36298@lists.php.net to get a copy of this message
how do I setup a smiley code system? I want :-) to translate into HTMLcode for an image - how do I do that? I've tried this: $smiley = str_replace(":)", "<img src=\"URL.gif\">", $smiley); But it's not working !

« previous php.notes (#36298) next »