mkosmosports Posted February 29, 2008 Share Posted February 29, 2008 Hey, I am doing a check to see if a certain value exists in an array. If it does, I want to then get the key for that value. It sounds so simple yet Im struggling with it.. Any ideas? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/93767-knowing-array-key-based-on-value/ Share on other sites More sharing options...
Barand Posted February 29, 2008 Share Posted February 29, 2008 www.php.net/array_search Quote Link to comment https://forums.phpfreaks.com/topic/93767-knowing-array-key-based-on-value/#findComment-480481 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.