In today's world of social networking, sooner or later someone will ask you to do Twitter integration for their website. This tutorial will walk you through the process -- and it includes source code!
http://www.htmlgoodies.com/beyond/php/article.php/3919956