How do I get this to workwhen $Needle is the first part of $HayStack? Both stripos and strpos return 0 in this case, which if interprets as false. The manual warns against this, but I couldn't find a clear solution to the problem there.PHP Code:if (stripos($HayStack, $Needle))
{
}
And I did tryandPHP Code:if (stripos($HayStack, $Needle) === true)
but they didn't work either.PHP Code:if (stripos($HayStack, $Needle) != false)
Any ideas?






Bookmarks