2중배열에서 값있는지 찾기
$userdb = Array ( (0) => Array ( ('uid') => '100', ('name') => 'Sandra Shush', ('url') => 'urlof100' ), (1) => Array ( ('uid') => '5465', ('name') => 'Stefanie Mcmohn', ('url') => 'urlof5465' ), (2) => Array ( ('uid') => '40489', ('name') => 'Michael', ('url') => 'urlof40489' ) ); $url_in_array = in_array('urlof5465', array_column($userdb, 'url')); if($url_in_array) { echo 'value is in multidim ..
2021.08.04