Answers for "array inside of array php"

PHP
3

php nested array contains

in_array($search, array_column($array, 'name'))
Posted by: Guest on April-24-2020
18

php in array

$colors = array("red", "blue", "green"); 
 
if (in_array("red", $colors)) { 
	echo "found red in array"; 
}
Posted by: Guest on July-01-2019

Code answers related to "array inside of array php"

Browse Popular Code Answers by Language