Search
 
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
Name
6+9 =