does anyone know of a good PHP script that will automatically hightlight a given chunk of code wether it be java/C++/PHP etc, etc...? I've tried searching source forge but all i found were text editors :cry:

Here is an example of the syntax highligting that daniweb has incorporated:

<?
     function printHelloWorld()
     {
          echo "hello world!";
     }

     printHelloWorld();
     exit();
?>

thank you Phaelax that looks beautiful!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.