Fixed typos in index.html's <input>'s name="", so they are the same as in JS, SQL and in the DB.
Added all <input>'s in the ajax().