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

c# - Reactive Extensions ControlScheduler -

ios - How to determine if NSLayoutConstraint is horizontal or vertical? -

javascript - Enable/Disable form elements and changing the values of button at a time? -