MySql: i "sorgulayabilirsiniz

0 Cevap php

Basically i want to add wildcards to the the col value when searching...

Genellikle bu çevrede bunun gibi başka bir yol yapmak:

WHERE cakes.cake_name LIKE '%$cake_search%'

ancak şimdi i tersini maç istiyorum:

the user searches for 'treacle sponge', i want this to match a row where the cake_name column = 'sponge'.

Bu mümkün mü?

0 Cevap