is there a built-in php function to find a value in a specific column of an array ?
I have an array filled with users data, and I want to check if an ID is present. My problem is that in_array check everything, so per example if the user is 20 years old and I want to check if the user where ID = 20 exists, I will get true even if there is no 20 in ID column.
I know that I can do that easily with foreach, my question is only : Has php a ready to use function to do that ?
Thanks.