"Leon Mergen, BlazeNetwork" wrote:
> ...
>  $string = eregi_replace(">:(","<img src=\"/images/smileys/sm2.gif\" border=\"0\" 
>width=\"15\" height=\"15\"",$string);
> What is wrong with this? What can I do to fix it?

Use this pattern: ">:\("
Point is, you must escape "(" here, 'cause it's metacharacter in regexp.

Hope this helps.

Pavel a.k.a. Papi

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to