I Want Solution Jst See This $var1="My Original name was is Fahan But My now name Is Fadz"; $var2="My Original name is Fahan Buut My Pet name Is Fadz"; I Want TO know in Persentage How many These Two Varible match in php Code PLease Help me Out PLease
Try this: <?php $var1="My Original name was is Fahan But My now name Is Fadz"; $var2="My Original name is Fahan Buut My Pet name Is Fadz"; similar_text($var1, $var2, $p); echo "Percent: $p%"; ?> PHP: