This question already has an answer here:
- Question about strpos in PHP 2 answers
I have this code:
if(strpos("Italia (16)", "Italia"))
{
echo "done";
}
else
{
echo "fail";
}
I want check if in the first string Italia (16)
there is the text Italia
but I get: fail
when I should get done
'cause the text is available in the first string. Why happean this?
</div>