php - Is it possible to do a find function in SQL? -
i'm looking this:
let's have string..
$chk="pie";
and want find in database string $chk
in it..
say database looks this:
username realname 123pieo bob ilikepie carl wat tom
can select ones contain $chk
in them how?
this select rows contain "pie" in username.
select * tablename username "%pie%"
Comments
Post a Comment