Technical Solutions
Wednesday, 6 March 2019
check if array contains all array values from another array
$containsSearch
=
count
(
array_intersect
(
$search_this
,
$all
))
==
count
(
$search_this
);
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment