Compare 2 input fields to a wix database

Thank you but could you explain it more or help me write the code for it?