mysql - PHP - Before Searching the DB for a Match how to clean out the Common text and Characters? -


I am currently searching the search functionality for searching a string in several columns and want to know from several tables that

P> Ideally I want to delete "/", "-", "%" ... etc before searching because I also use MySQL query

 '% KEYWORD%' like the   

Yet one thing New Search

  "Sales Officer"  

will not match the above string, remember I'm just a simple

  STR_REPLACE not looking for solution  

because it would be impossible to clean all such potential search options,

Any other ideas?


Comments

Popular posts from this blog

python - rpy2 import is not working -

javascript - How to get MySQL query result returned using $.ajax -

javascript - How to use the code plugin with popcornjs -