PHP and HTML form fixes