...

View Full Version : displaying code with different colors



mic2100
11-18-2006, 01:59 PM
Hi i was wondering how i would og about making a script that would change the colours for code like this site when you put something inside of the php tags

example



echo "hello world";



does anyone know where i might be able to get a function from for this process

CFMaBiSmAd
11-18-2006, 03:13 PM
http://us3.php.net/manual/en/function.highlight-file.php
http://us3.php.net/manual/en/function.highlight-string.php

mic2100
11-18-2006, 03:42 PM
yeah thanks that does wot i want



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum