Jump to content

Searching for recipes by ingredients


kevloink

Recommended Posts

Like this website http://www.recipekey.com

 

If you add sugar, salt, flour, baking powder, milk, eggs, and butter to your "pantry," it gives you three recipes that you have all the ingredients for, then it gives you a few that you have 88% of the ingredients for, then some that you have 86% of the ingredients for, and so on.

 

How would I set up my table, and then how would I determine the percentage of matched ingredients?

 

P.S. I'm not actually doing anything with recipes, but it's very similar.

Link to comment
https://forums.phpfreaks.com/topic/157514-searching-for-recipes-by-ingredients/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.