Posted by Miguel Cruz on 08/05/06 07:56
"Alkimake" <alkimake@gmail.com> wrote:
> As you see the main problem i can not use the query as a local or
> private object in the function. Everytime i call the function $queryOne
> changes globally.
Your approach is very expensive with all those queries. Just select
everything at once, and then re-assemble it into the hierarchical
structure in PHP.
miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu
Navigation:
[Reply to this message]
|