I was wondering how you could change the color of text using the str_replace or eregi_replace commands. eg.
$info = str_replace("[color=","<font face=arial size=3 color=",$info) etc
so that when the user types {color=green}some text{/color} the "some text" will be green... (parenthesis = square brackets)
obviously the above code wont work...its just an example of what im wanting to do...
any thoughts on how i could do this, without using css??
thanks
Andrew