Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to post code like php, C, C++ ...

What should I install code to post in forum ?
Example:
[CODE]
test test
test test
[/CODE]
Code php, C, java
0
Comments
Depends on the format you have chosen:
html
< code >... </ code>
< pre > .... </ pre>
markdown:
~~~
...
~~~
BBCode
[code] ... [/code]
By the way: I guess the HTML < code > will always work, but beware: html is no code for the code tag. See that mess...
Ever posted the "evil" smiley
at the beginning of a line?
Not so evil any more....
Uhm, sorry. Please excuse me spamming...
aside from the formatting suggestions r_j offered....
by the way if any one has trouble posting html tags without the tag being acted upon. you could use
the
<
e.g.<html>
becomes <html>some people use geshi plugin
and there is a mod http://vanillaforums.org/discussion/comment/204031/#Comment_204031
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.