Fixed Database (full function) Ajax example in place on website(Broken)