![]() |
| ||
| suggest query hi all, i have a auto suggestion box which displays countries when we type a it will display all countries starting with letter a like alaska,australia etc...,but i want to display every name which has letter a in names like australia,india, etc... |
| ||
| Re: suggest query SELECT * FROM countries WHERE country LIKE '%a%' |
| ||
| Re: suggest query If there are small number of rows in a table u can go with Like '%a%' else you need to try full text index |
| All times are GMT -4. The time now is 5:12 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC