ok i am trying to get it to work over multilines and it works if i only have one set of "{loop=name}.....other stuff......{/loop}" tags. When i have two or more it ignores the next "{/loop}" and goes straight to the last tag? does anyone know how i can solve this problem.PHP Code:preg_match_all('/{loop='.$LoopName.'}^(.*?){\/loop=}/', $this->data,$matches)
Thanks


Reply With Quote
