how do i add bbcodes in the unrealx forum script?
like:
[ u ] text [ / u]
[ small ] text [ / small]
[ i ] text [ / i]
[ s ] text [ / s]
like:
[ u ] text [ / u]
[ small ] text [ / small]
[ i ] text [ / i]
[ s ] text [ / s]
$ttext = str_replace ("<b","*bbbb*",$ttext);
$ttext = str_replace ("<i","*iiii*",$ttext;
$ttext = str_replace ("<u","*uuuu*",$ttext);
$ttext = str_replace ("*iiii*","<i",$ttext);
$ttext = str_replace ("*bbbb*","<b",$ttext);
$ttext = str_replace ("*uuuu*","<u",$ttextt);
Comment