I'm trying to make a system that detects a keyword.
Type: "asdfghjlzzTESTEzzxcvbnm"
And I have to by in the condition, to see if it has or not the word X
if($palavraChave == "TESTE"){
echo "exist";
}else{
echo "not exist";
}
My problem is how I will be detecting the word 'key' even if there is no space between them.