views:

11

answers:

1

Hi,

I want to search the matching strings from a mysql table. The search string is not a correct sentence, its only a part of the sentence.Any one can help me.?

Thanks in advance...

Nimmy

+1  A: 

Something like this?

SELECT * FROM table WHERE string LIKE '%substring%'

http://dev.mysql.com/doc/refman/5.0/en/pattern-matching.html

relet
Thanks a lot...
Nimmy