Posted by Christoph Burschka on 04/26/07 20:22
Christoph Burschka wrote: > $text =preg_replace('/<!-- PHP TAG ([0-9]+) -->/','restore_tag(\'$1\')',$text); Whoops. This pattern needs the 'e' modifier as well, of course, like the first one: $text =preg_replace('/<!-- PHP TAG ([0-9]+) -->/e','restore_tag(\'$1\')',$text); -- cb
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming