Now I keep getting an internal server error as soon as I clik on Submit.

The code looks ok right?

Any ideas?