PHP & MySQL Code for HeadFirst Book