chapter 1 basic db write from form