edit homework PHP working with forms