Refer to this post: http://codex.wordpress.org/Writing\_Code\_in\_Your\_Posts It surely will help you out.
I work for a software outsourcing company which specializes in php web development and allows small and mid size companies to hire php programmers for their development work.