i need to do thispreg_replace在加入時不工作<a href
replacing <a href="forum.php?id=1">title</a>
with <a href="f-1-title.html">title</a>
i do this patren
$prased_template=preg_replace('#<a href="forum.php?id=(.*?)">(.+?)</a>@','test=\\3',$template);
but its not work , i need to get the ID and Title to put it in second value
how !
not working its return with old href – 2012-04-02 22:43:12