unkwntech Posted August 6, 2008 Share Posted August 6, 2008 I am wondering if there is a built in function that will identify if an item is contained in my array then return the index. Quote Link to comment https://forums.phpfreaks.com/topic/118466-solved-finding-an-item-in-an-array/ Share on other sites More sharing options...
DarkWater Posted August 6, 2008 Share Posted August 6, 2008 array_search(). Quote Link to comment https://forums.phpfreaks.com/topic/118466-solved-finding-an-item-in-an-array/#findComment-609831 Share on other sites More sharing options...
unkwntech Posted August 6, 2008 Author Share Posted August 6, 2008 Thanks I was just coming back to kick myself, I know these things. Quote Link to comment https://forums.phpfreaks.com/topic/118466-solved-finding-an-item-in-an-array/#findComment-609834 Share on other sites More sharing options...
DarkWater Posted August 6, 2008 Share Posted August 6, 2008 Lol, no problem. Quote Link to comment https://forums.phpfreaks.com/topic/118466-solved-finding-an-item-in-an-array/#findComment-609837 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.