The in_array() function searches an array for a specific value.
This function returns TRUE if the value is found in the array, or FALSE otherwise.
Note: If the search parameter is a string and the type parameter is set to TRUE, the search is case-sensitive.
The output of the code above will be:
Your Query was successfully sent!