Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Web >> Development >> PHP >> How locate the position of a value in an array

array_search($valuetosearch,$arraytosearchin) if found, returns the array index otherwise returns FALSE for comparison purposes pls use either === or !== operator as the normal array has first index of 0 which may be treated as FALSE by non-strict boolean operators (== and !=)
[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]