Hello,
I have a field in my table with a string of letters, each letter represents a "feature" of a product.. e.g. if a product has touch screen and has bluetooth the string would be tb.
This gets a little complicated when a product has lots of features like thisUsing mySQL LIKE, i would want to search for products with multiple features.Code:scbmrtl
How can i construct search string in order for this to work?
i have tried %t%b% but this doesnt always work... like in the string above..PHP Code:Features LIKE '$searchstring'



Reply With Quote


. Yes, adding a column for each boolean feature does still sound needlessly complicated to me.
Bookmarks