I am making a color option like the one in this forum so i have a suntaxt like this /[/color:<<color>>/]text[/color/]. The <<color>> comes from a javascript.
Now i am trying this syntax
$_POST['text']=str_replace ("[COLOR:*]","<font color=*>",$_POST['text']);
$_POST['text']=str_replace ("[/COLOR]","</font>",$_POST['text']);
But it doesn't work 🙁 why?