View Full Version : How does the [PHP tags work here Coding Forums

09-10-2011, 01:43 AM
I was wondering how the
tage here in Coding Forums work. How does it know to to make certain text a different color? Is the box I'm typing in done in Javascript or PHP or some other language?

09-10-2011, 02:28 AM
The code gets passed through highlight_string() (http://php.net/highlight_string), which generates colorized HTML of the code.