Here's another function to check out as well (from one of the main developers of PHP): http://aidan.dotgeek.org/lib/?file=function.str_highlight.php ted On Apr 6, 2005 11:40 AM, Jay Blanchard <jay.blanchard at niicommunications.com> wrote: > > [snip] > I seem to remember seeing a class once that displayed a string of code > sent to it with different colours like an editor would do it. Does > anyone > know of a PHP class or function to display: > > - HTML code > - CSS > - Javascript > > colour coded? > [/snip] >