Sample code used in Sams Teach Yourself PHP, MySQL and Apache All-in-One