[PHP] Help with loop inside loop and mysql queries

2003-07-16 Thread Petre Agenbag
Hi List. I cannot see my error: I have relation tables setup. main id entity_name main_type etc etc date_in 1 testtype1 x y 2003-06-02 2 test2 type2 xx yy 2003-03-11 3 test3 type1

Re: [PHP] Help with loop inside loop and mysql queries - SOLVED

2003-07-16 Thread Petre Agenbag
Grr Needed to reset the $XXX and $YYY vars BEFORE the for loop... Anyway, should you have nothing better to do, plz look through and see if there is a "better" way to do this with possibly less queries made on the db... Ta On Wed, 2003-07-16 at 09:25, Petre Agenbag wrote: > Hi List. > > I can