I'm trying to search an array for a string and if the string exists in the array it wont go into the if statement, I'm using the below code, It just wont work for me, any ideas?
Code:
if((!in_array($string,$Array)) && ($string != '')) {
print $string.'<br/>';
}
Comment