kevloink Posted May 9, 2009 Share Posted May 9, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/157514-searching-for-recipes-by-ingredients/ Share on other sites More sharing options...
dreamwest Posted May 10, 2009 Share Posted May 10, 2009 http://www.tizag.com/mysqlTutorial/mysqlavg.php Quote Link to comment https://forums.phpfreaks.com/topic/157514-searching-for-recipes-by-ingredients/#findComment-830932 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.