79Views7Replies

Author Options:

How to make a search recpie by ingradant thing? Answered

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.)

Discussions

0
mathews
mathews

Best Answer 9 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.

0
Jayefuu
Jayefuu

Answer 9 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.

0
Kiteman
Kiteman

9 years ago

What do you want to do?

Search the internet for recipes that use a particular list of ingredients?

0
milkywaybar
milkywaybar

Answer 9 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.

0
Kiteman
Kiteman

Answer 9 years ago

Yuo need a database, then.  See Mathew's comment.

0
RavingMadStudios
RavingMadStudios

9 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.