[PHP] Multiple database seeking

2001-12-03 Thread Alen Nonkovi
Hello, I am trying to make a something like a cooking recipe with some calculations. My problem is too much database querying. Is it really a problem??? Let's suppose there is a table with items and prices: item1price1 item2price2 item3price3 ... Then I have to calculate some new

Re: [PHP] Multiple database seeking

2001-12-03 Thread Miles Thompson
Allen, Have you a table of recipes, like so: recipe1 item1 recipe1 item2 ... recipe1 itemn recipe2 item1 You could then fetch all the items for a given recipe, and loop through the returned results (an array), concatenating the prices. Alternately, you store all your items in an array for

Re: [PHP] Multiple database seeking

2001-12-03 Thread Valentin V. Petruchek
, 2001 4:31 PM Subject: [PHP] Multiple database seeking Hello, I am trying to make a something like a cooking recipe with some calculations. My problem is too much database querying. Is it really a problem??? Let's suppose there is a table with items and prices: item1price1 item2price2 item3

RE: [PHP] Multiple database seeking

2001-12-03 Thread Jason Lotito
To: [EMAIL PROTECTED] Subject: [PHP] Multiple database seeking Hello, I am trying to make a something like a cooking recipe with some calculations. My problem is too much database querying. Is it really a problem??? Let's suppose there is a table with items and prices: item1