Просмотр поста

.
Windler

Yes!
Code:
$var = preg_replace('#\[color=([\#a-zA-Z0-9]+?)\](.*?)\[/color\]#si', '<span style="color:\1">\2</span>', $var);
Add in ../incfiles/func.php
The result is tag "[color=][/color]" and all html color