php - use LIKE to search exact word in mysql -


please help., lets want search word "ink"

when use im getting every word has "ink" letters on including "wrinkled".,

if use regexp results has word 'ink" first word.,

i need able search exact word example "blaaah ink blah" product show because has word ink., "ink blah blah"..

i cant use fulltext there way using like..?

thank in advance.. :)

the query be

select * table_name column_name 'ink %'      or column_name '% ink'      or column_name '% ink %' 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -