in reply to Dereferencing nested references
Aside from what repson and chipmunk say, I think another problem here is with your SQL query. Why aren't you using a JOIN?
SELECT * FROM buyerssellers,people WHERE filenumber=? AND buyersellers.personid = people.personid
lets your database do most of the work (which is almost always a Good Thing.) Also by using placeholders (the '?' in the query), you no longer have to do a seperate prepare for every iteration. This could save you a lot of time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Dereferencing nested references
by ryddler (Monk) on Jan 16, 2001 at 19:57 UTC | |
by jeroenes (Priest) on Jan 16, 2001 at 20:20 UTC |