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
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
, 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
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
4 matches
Mail list logo