'How to compare value in array with value in multidimensional arrays?
It's my problem.
$arr_1 = ["a", "b", "c"];
$arr_2 = [
[
"word" => "g"
],
[
"word" => "a"
]
]
So i want check
if $arr_2[n]["word"] value same $arr_1, then return true
Thanks you for help !!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
