I am working on searching part, I am facing one issue for searching records. I have products table having columns like :- id, product_name
id product_name
1 woodpecker handpiece
2 hand piece
Now I when search with query="woo" it's searching fine. When I add query="wooo" Now next time if I search query="woooooooo" its fine if user enters many o's. I want at least if user enters by mistake 2(o's) then it must search.
SELECT * FROM products WHERE product_name LIKE '%woo%'; //its working fine
SELECT * FROM products WHERE product_name LIKE '%woooo%'; //its not working fine.
My client gives some reference site where its working I am not sure how the doing. This reference image :-
See above image I have entered wrong query 'wooo'.. its still searching Please help me thanks in advance.