...

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



wojo1086
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?

Inigoesdr
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum