Good Morning All..
How to do coding for code tags , when we post a thread..And the display the content between the code tags with different color using PHP..
Thanks in Advance.
I dont know the actual method but I think following may work.
str_replace("code","<span style='your style'>",$yourtext); str_replace("/code","</span>",$yourtext);
You mus use full tag in your code i.e. \[code\]
thanks for you both..
i will work on this and let you know...