How to combine two string in php : I want combine two words to get a list of other words containing its letters example :

jack & sara

    jaca, jara, jacka, jacra, jsara, jacara, jackra, jasara, jackara, jacsara

sara & jack

    sack, sark, sarak, sarck, sjack, sajack, sarack, sarjack


