Please attach an actual copy of the page, not a version copied and pasted into word, so I can open it in Dreamweaver to take a look.
This page looks good to me. Is this the index.php page? I may need FTP access and a URL to reproduce the issue to fully debug it. Sometimes the problem is that your database has a required column that isn't being set in the server behavior and that causes the insert to fail.