upgrade PHP guestbook to use mysql database store