kaptanasi adlı üyeden alıntı: mesajı görüntüle
örnek verirmisin dostum ?
$first_tag='[URL]';
$last_tag='[/URL]';
$data='[URL]http://www.google.com[/URL]';

if(strpos($data, $first_tag) >0 && strpos($data, $last_tag) >0 ){
       $data=str_replace(( $first_tag,'',$data);
       $data=str_replace( $last_tag,'',$data);
        echo '<a href="'.$data.'">'.$data.'</a>';
}
en basit haliyle bu sen geliştirebilirsin.