You are here: Re: Make selection in array « PHP Programming Language « IT news, forums, messages
Re: Make selection in array

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация