Reply to Re: Better multidimensional search

Your name:

Reply:


Posted by Guillaume Dargaud on 11/08/78 12:01

> If you're looking for key instead of item you should write:
> foreach( $array as $key => $item )...
Right, I should have written $item

> looking for item? use array_search.
Hmmm... But I'm looking only in the 2nd 'column' of a 2D array. array_search
or in_array don't let me narrow down the search for a specific column. How
can I do that ?

--
Guillaume Dargaud
http://www.gdargaud.net/

[Back to original 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

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