DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
mysql search like but first exact match
SELECT * FROM table WHERE column LIKE '%$search%' order by INSTR(column, '$search')
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mysql
#search
#exact
#match
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit