@andrewsmd: Saying that they are the same,I meant the products are the same bud with slightly different name, and I need to look up all the same products even if they have little bit different name, and comapare their prices.
For instance, you have 10 products in catalog from different stores (e-shops) which are the same but with little different names, as here:
$title2= "SENCOR SDV 7112 SUPER SLIM DIVX 5.1"; $title3= "DVD player SENCOR SDV 7112";
...and what I'm trying to do is pull out all the potential product which may be the same although they have slightly different names, and compare their prices.
I have some solution, which is giving me the % of similarity, but just wondering if there could be something more precise, any algorithm