one MySQL example
#1

Hello all, i have problem, i can ez make mysql search on php, but on samp i can't, i know i must use LIKE in query but i don't know how, can anyone give me example..

Код:
new search[64] = "tes"
"SELECT * FROM db WHERE text LIKE here is my problem LIKE '%%s%'", search
Reply
#2

You need use double %
pawn Код:
"SELECT * FROM db WHERE text LIKE '%%%s%%'", search
Reply
#3

Thanks bro, )))
rep+

-Solved-
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)