By the way, I assumed that you are using a Microsoft Access Database. Obviously, the script would have been a lot better (like allow ' and " in the password and other fields) if you:
have pre-built queries in MS Access that can accept parameters to perform registration routines, or
used MS...