RegEx creates error
Posted: Mon 29. Mar 2004, 13:58
I must admit that I am not used to RegEx, but I really can't find the error. These are my lines of code:
$replace returns a String (I echoed it, and it comes out all right).
The purpose is a replacement tag (I am just testing at the moment).
Code: Select all
$replace = product_get_contact_name("bit-ACL-Explorer", $content["products"]);
$content["all"] = preg_replace('/\{PRODUCTS\}/e', $replace, $content["all"]);
The purpose is a replacement tag (I am just testing at the moment).