Hey i am trying to compare 2 strings and check what word/words are common for e.g.:
now i want it to find that "bob" is most common in the 2 strings.PHP Code:$string1 = "hello my name is bob";
$string2 = "today bob went to the park";
I have tried researching up on strcmp but i don't think that is what i need for this.
Any help is appreciated thanks![]()





Reply With Quote




