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. 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(). 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. 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. 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
Archived
This topic is now archived and is closed to further replies.