the problem is the method attribute in your form elements
<form action="" method="submit" name="form1" id="form1">
submit is not a valid method. there are 2 options for the method attribute:
POST
GET
you need to use POST:
<form action="" method="POST" name="form1" id="form1">