RE: [PHP] Multiple database seeking

2001-12-03 Thread Jason Lotito
2001 9:31 AM > 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

Re: [PHP] Multiple database seeking

2001-12-03 Thread Valentin V. Petruchek
; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 03, 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&#

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 each

[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 i