Thread
:
Help with MySQL commands
View Single Post
#
3
06-03-2010, 01:40 PM
pfyon
Discordant
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Code:
select * from items where name like '%boots%';
The % act as wildcards. Also note that if your mysql db is on a linux system, the names will be case sensitive (so boots would match 'Journeyman's boots' but not 'Journeyman's Boots' for example).
pfyon
View Public Profile
Send a private message to pfyon
Visit pfyon's homepage!
Find all posts by pfyon