PHP code highlighting
Posted: Mon Nov 17, 2008 6:42 am
Hello
Can somebody tell me how to highlight PHP code in a string which comes form database and how to make links to all the PHP functions in that string. This method use in blogs or PHP tutorial websites like this one:
http://phpsense.com/php/php-pagination-script.html
where the PHP code is properly formated and the functions use in the example are linked to PHP website for further reading.
thanks
Can somebody tell me how to highlight PHP code in a string which comes form database and how to make links to all the PHP functions in that string. This method use in blogs or PHP tutorial websites like this one:
http://phpsense.com/php/php-pagination-script.html
where the PHP code is properly formated and the functions use in the example are linked to PHP website for further reading.
thanks