Whoo.. Okay...
I spent a couple of hours coding this script up for my own use, because i'll be using it alot when I start my tutorials..
http://www.creactiveonline.com
Go there and then go to "Code Generator" - It's basically a thing that you can paste any amount of code into.. It'll take every single < and > and turn them into their html special characters so that you can post the actual -source code- onto your site.. if you don't understand what i mean go and paste a whole crap load of html and php into the box at the bottom.. it'll sort through it..
I even did a LITTLE syntax highlighting (i think that's what it called) where all the HTML codes will show in blue, all the PHP will show in red, and the regular text will be black - so that when you do your tutorials the newbies can see exactly what they're looking at..
NOTE: New menu so now go to "Services" and then "Dynamic Code Generator"