Accessing a database through PHP and manipulating database data using an HTML form