PHP multidimensional array search by value
This will work. You should call it like this: It is important to know that if you are using === operator compared types have to be exactly same, in this example you have to search string or just use == instead ===. Based on angoru answer. In later versions of PHP (>= 5.5.0) you can … Read more