HaTTaKe (17.05.2011/01:39)What???
А your this зачем?
$var = preg_replace('#\[IMG\](.*?)\[/IMG\]#si', '<img src="\1" alt="" />', $var);
Taltos (19.05.2011/11:28)its not working
$var = preg_replace('#\[IMG\](.*?)\[/IMG\]#si', '<img src="\1" alt="" />', $var);
Taltos (19.05.2011/13:28)where is that code add? and i want bbcode for link example http://site.com as name how edit?
$var = preg_replace('#\[IMG\](.*?)\[/IMG\]#si', '<img src="\1" alt="" />', $var);