Include code listings in your posts: this tutorial shows how to trick highlight_file into using classes; add line numbers; and make them easily identifiable for copy and paste. Read More
Tag: highlight_string
The lazy bloggers guide to displaying syntax color highlighted PHP code for your articles, posts and tutorials. Line numbers optional! Covers display in both native php pages and CMS (e.g. Wordpress) posts. Read More
How to get highlight_file and highlight_string to list your source code using CSS classes instead of inline styles; and reduce the size of your page. Read More