I am looking for away to check if a string exists as an array value in an array is that possible and how would I do it with PHP?
The array_search function does exactly what you want.
$index = array_search("string to search for", $array);