How can I find elements in an array using php.Here is a simple small example to find element an array.Youcan use php in_array() function to this.