You are here: array position « All PHP « IT news, forums, messages
array position

Posted by Steee on 06/13/05 12:30

do you know of a function that will report the position of a search string
in an array..
So lets say I had an array of $testing
$testing[0] = a
$testing[1] = b
$testing[2] = c
$testing[3] = d
$testing[4] = e
$testing[5] = f

And I wanted to know where "d" was in the array it will then return 3 as the
value any ideas?

 

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

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