DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
array_search in php
$key
=
array_search
(
3
,
array_column
(
$users
,
'user_id'
)
)
;
$userName
=
$users
[
$key
]
[
'first_name'
]
;
Source by techtechinfo.com #
PREVIOUS
NEXT
Tagged:
#php
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit