Page 1 of 1

php code coloring

Posted: Sat Feb 24, 2007 4:03 am
by nwp
Are ther any functions in php that would convert
<?php
echo "Hello";
?>
To

Code: Select all

<?php
echo "Hello";
?>
thats Color the php codes according to php documentor or some others ??

Posted: Sat Feb 24, 2007 4:47 am
by Kieran Huggins
in fact there is! The php manual uses highlight_string() and/or highlight_file()

Posted: Sat Feb 24, 2007 5:07 am
by nwp
Thanks