My table looks like this
Id  | name   
---------------
1   |  clinker
2   |  gypsum
Now I need to prepare a search based on the 'name' field. here is the select statement
select * from table where name like '%$keyword%'
Now, suppose the keyword is 'clinker 1', and I want first row of my table as result set. How can I accomplish that?
 
     
    