|
Posted by frizzle on 01/10/06 13:16
Marcin Dobrucki wrote:
> frizzle wrote:
>
> > 'Name' was a sloppy typo indeed :$, the array is going to be ca. 150
> > iterations, but with big chunks of text in them....
>
> IMHO, 150 iterations isin't very much. Just make it work, and then
> when it does, you can ponder if it can be optimized. If you are a DB
> backend, then do as Michael suggested.
>
> /M
I am at a DB backend, but i want to prevent running unnessecary
queries, since they burden the DB when not needed. I guess i'll just
run through the array a couple of times then.
Thanks anyway. I was hoping for a sort of a DB query kind of solution,
like in my example,
regarding the items in the array as fiels names ...
while( $array['fieldname'] == 22 ) etc.
Too bad, but i got it working, and that's what's most important.
Greetings Frizzle.
[Back to original message]
|