Does anyone know how to search an array for a value that exists in the array? I have an array from DB and I need to find out if a particular value exists in the array. Anyone have a suggestion?
in_array() or check the other array functions
Cool thanks. I was unaware of the in_array function.