On Wed, 14 Nov 2007 23:45:40 -0800, "Daevid Vincent" <[EMAIL PROTECTED]>
wrote:
> I want to put a code snippet section on my site and want to colorize them
> like the user comments on any PHP site page.
> 
> http://www.php.net/manual/en/language.operators.arithmetic.php
> 
> What's the easiest way to do that?
> 
> I've used Geshi, but that seems a lot of overhead just to colorize a wee
> bit-o-PHP code.
> 
> http://daevid.com
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

Take a look at highlight_string or highlight_file. 

http://nl3.php.net/manual/en/function.highlight-string.php
http://nl3.php.net/manual/en/function.highlight-file.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to