how do i go about this??

I am trying to make a database of recipes, and then aim to be able to input some ingredients in which the output will be those recipes in order of how many of the ingredients of my input it contains. Would anyone have any idea how to go about this, i have tried a few way but keep getting stuck. Just want to know the most basic way to do this.

That's really not the kind of question we can help with. We have no idea what you're trying to accomplish, what you've tried or the results of your attempts. Try to be specific in your question. Something like "I tried to put this data into a database and got this error message". We can help with that.