I have
$found= strpos($string, $valueilookfor);
String looks like this " Hello, Yes, Me "
Now when I look at what results it gives, it can only find Yes and Me, but not Hello, even though it's in there. What can i do to also be able to find the first value?
It's only finding values after a comma. I now tried (",hello, yes, me", valueilookfor) and it finds hello.. just because I added a comma infront of it... How do i do it without the comma though? is my table set up wrong?
$found= strpos($string, $valueilookfor);
String looks like this " Hello, Yes, Me "
Now when I look at what results it gives, it can only find Yes and Me, but not Hello, even though it's in there. What can i do to also be able to find the first value?
It's only finding values after a comma. I now tried (",hello, yes, me", valueilookfor) and it finds hello.. just because I added a comma infront of it... How do i do it without the comma though? is my table set up wrong?