example:
$name1="abcdefg";
$name2="csawea";
Output: bdfgsw
i want to make a php code that removes all the same characters and its duplicate that is in Input1 and Input2, im new in PHP so im kinda confused in the codes, i know the strrpos,substr func but i need to see a finish product in order to understand the flow. TNX!!
other ex:
$name1= "aaabb";
$name2= "bccc";
Output: aaaccc