Code: Select all
<!-- header -->in started off with this line:
Code: Select all
$content = preg_replace ("/\<\!\-\- (їa-z]*) \-\-\>/", "$1", $content);Code: Select all
$content = preg_replace ("/\<\!\-\- (їa-z]*) \-\-\>/", insert("$1"), $content);Code: Select all
include ($parameter . '.inc.php'what am i doing wrong and what is the right solution?
btw: i read about preg_replace_callback, but didn't quite get the explanation in the manual. is that what i need?