Won't SELECT md5
#1

Hi, why this don't load the MD5 PASSWORD ?

format(Query, sizeof(Query), "SELECT * FROM `playerinfo` WHERE `user` = '%s' AND `password` = MD5('%s')", escpname, inputtext);


I did the same in INSERT, and it inserts MD5 password in DB. But not here in selecting.
Reply
#2

anyone ?
Reply
#3

Ehh..try this and make sure that what your trying to select and whatnot is actually in your db:
pawn Код:
format(Query, sizeof(Query), "SELECT * FROM playerinfo WHERE user=%s AND password= MD5('%s')", escpname, inputtext);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)