Syntax highlighting

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
HiddenS3crets
Forum Contributor
Posts: 119
Joined: Fri Apr 22, 2005 12:23 pm
Location: USA

Syntax highlighting

Post by HiddenS3crets »

I was wondering if anyone knows how to do do syntax highlighting on submitted information?

I'm setting up a source code section and I want to have syntax highlighting for the submitted code.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

highlight_string() :)

You can also check out our code snipplet board for syntax highlighting for various other languages (I believe)
HiddenS3crets
Forum Contributor
Posts: 119
Joined: Fri Apr 22, 2005 12:23 pm
Location: USA

Post by HiddenS3crets »

I found a program called GeSHI. I believe this is what pastebin.com uses, so I know it's good!
Post Reply