83Views7Replies
How to make a search recpie by ingradant thing?
I have no knowledge of this kind of stuff. however, I can use the computer very well, except for scripting + Html. i'm not using it for recipies. whoever helps me can possibbly work remotly together. scince i'm 13, you won't get paid, but it'll be fun! (if your 13 too or close 2 that, and my parents allow, we could work together, face2face.)
Comments
Best Answer 10 years ago
You should be able to do this with three tables within a database, one for the recipie, one for the ingredient, and a linking table. You might use something like:
$ingredient = eggs
$result = mysql_query("SELECT Ingredient FROM link WHERE ingredient = $ingredient");
while($row = mysql_fetch_array($result))
{ $Recipe = $row['Recipie']; }
print"$Recipie";
But to start with try something simpler and work up.
As for the software, I used Wamp server when developing something a while back. Self contained and installs apache, PHP and MYSQL.
Answer 10 years ago
Bookmarked. I never got around to installing apache, php and mysql on my desktop, I could never get it to work. That looks a lot easier.
10 years ago
What do you want to do?
Search the internet for recipes that use a particular list of ingredients?
Answer 10 years ago
no, i want to have some1 enter a list of ingradants (EX: chocloate, flour, eggs). and then have it search the items needed for the recipie, in a specific list, made by me.
Answer 10 years ago
Yuo need a database, then. See Mathew's comment.
10 years ago
Plug the keywords with "recipe" into a search, e.g.:
Google example
L
10 years ago
Sounds like what you want is a relational database. There are a number of software products available that can do this kind of thing, i.e. MS Access.