From: Gerard Samuel <[EMAIL PROTECTED]>
Date: Thu, Sep 06, 2001 at 01:10:15AM -0400
Message-ID: <[EMAIL PROTECTED]>
Subject: [PHP] str_replace and arrays
> Hey all. Im trying to reduce some lines of code that has muliple lines
> of str_replace. I figure lets try using
Hey all. Im trying to reduce some lines of code that has muliple lines
of str_replace. I figure lets try using arrays but its not working.
E.g. I have about 15-20 lines like this.
$message = str_replace(":D", "", $message);
Im trying
$path = "images/forum/icons/";
$one = array(":D",":)");
$two
2 matches
Mail list logo