Forum Academy Marketplace Showcase Pricing Features

Checking a correct input from a database

I’m working on this App and what I want is to compare the answer the user input with the correct answers in a database and according to the number of correct answers display a score. I already have the correct answers in a data of type text (idk if is the correct way to put it in this case) but I don’t know how to compare the answers. if there is another way to do this, I’m open to any advice.