PHP multidimensional array search by value

49

PHP multidimensional array search by value -

$key = array_search('100', array_column($userdb, 'uid'));

Comments

Submit
0 Comments